miniupnpd/getifaddr.c: fix when IPV6 is not enabled