Add some tests for lock errors. Notably, some of them fare nicelywith just the pthread consistency checks (which are enabled bydefault in rumpuser), but others require real LOCKDEBUG.