fix wrong prototype of freeaddrinfo_t