Change db_tdb_fetch_locked to use only one talloc