Fix bug in BiasedLocking (x86 reordering could break things).
BiasedLocking.cc: test for correctness in a loop.