Add hash table helper functions for using pointers as hash keys