netlink-socket: Fix handling socket allocation failure in nl_dump_start().