libbpf, hashmap: Fix undefined behavior in hash_bits