Revert "Add explicit cast to zhash_cursor calls"

Reverts zeromq/zproto#173
Please revert after https://github.com/zeromq/czmq/pull/835 has been merged.