change input to KHT_DEFINE_HASH_FN to be const