[IPHLPAPI_APITEST] Avoid crash on ROS and failure on Windows. CORE-14411