libcollectdclient: fix usage of ip_mreq