name-hash.c: use new hash map implementation for cache entries