Fix use of half-initialized result in getaddrinfo when using nscd (bug 16743)