recvZeroCopy failure is hidden by failure to set position on ByteBuffer

when the retrun code from zmq_recv is negative writing the negative value
to the ByteBuffer raises an IllegalArgumentException.
This behavior hides the true error.