Test setIPv4Only() only on supported library versions.

Recent commits added support for setIPv4Only(), but this option is only available in ZeroMQ 3.2.0 or newer (according to ZMQ.cpp). So, the test cases should be skipped for other versions.