Replace assert with zmq_assert