Set HAVE_GETIFADDRS only if ifaddrs.h is found, not if any of arpa/inet.h net/in.h and ifaddrs.h are found