src/interfaces/zmq: Move functions out from assert()
src/interfaces/zmq: Move functions out from assert()

Having function calls in the assert macros prevent us to disable
them.  Move all functions calls out from the macros.

We should check errors without assertions if we are serious about this
interface driver.

No functionality should have been changed.

Signed-off-by: Yasushi SHOJI <afa9ca3be149447780c2f7b524d61ed3d3db63f9@spacecubics.com>

libcsp/libcsp,libcsp/libcsp