tdb2: fix error handling for tdb1_transaction_commit.