ldb_tdb: Disallow TDB nested transactions and use tdb_transaction_active()