Assert no reentrant exclusive lock.

Replace the reentrant reentrant exclusive lock test with an assertion.