packets: Introduce in6_addr_mapped_ipv4() and use where appropriate.