Fix stack smash bug in zmq_poll

Separate callback invocations from return value pushing
Added XSRETURN()s