Simplify source code ifaddrs.c