Acquire our driver mutex before opening the transaction.

Otherwise, the LMDB internal mutex is locked, blocking other threads
that hold our driver mutex, but wait for the LMDB mutex.