tdb: Improve debugging in _tdb_transaction_start