netlink-socket: Use xmalloc() instead of malloc().