android: add support of ifaddrs in android

Fixes https://github.com/joyent/node/issues/7291