Add explicit cast to zhash_cursor calls

Problem: The zhash_cursor function returns const void * and the
zproto_codec_c assumes that it return const char *.

Solution: Add explicit cast to zhash_cursor calls.