properly handle point-to-point interfaces in getifaddrs()