tdb_compat: handle TDB_INCOMPATIBLE_HASH flag.