tdb2: remove tdb_hashfn_t prototype