Change hashmap_allocate to use calloc