htable: allow htable_type keys to be non-pointers.