CMake: remove unused hack for ZMQ

The ZMQ submodule is used for Windows that does not have proper
package management. But the hack is not used for Windows and
therefore unnecessary.