util_sock: fix assignment of sa_socklen