ip: consolidate IPv6 link-local-address functions.