Made darwin_hotplug_poll static to fix Xcode warning
Fixed clang static analyzer warning about dereferencing null

It looks like *ifcp should be the same as iface,
so I just use the latter instead of the former.