noip.c (get_local_ipaddrs): Rewrite to use getifaddrs(3).