netlink: Move more of the newlink/dellink parsing into shared code