Avoid malloc in zmq_poll for small polls