[PATCH 1/9] hashmap: Add value free function