Teach nfs_compare_sockaddr() to handle NULL arguments.