Fixed errno usage

Fixed the usage of errno in getaddrinfo_v06x. The browser was crashing when running on Raspberry Pi without those changes.