[XFRM] netlink: Use nlmsg_end() and nlmsg_cancel()