std::rt: Fix addrinfo definition on BSD