Add debug output for hashtable implementation

Targets #92
Missing cast to `void*`