libstd: Use iotest! for for get_host_addresses.
libnative: Avoid gai_strerror on windows.