tdb/toos: allow transactions with TDB_MUTEX_LOCKING