ipv6: Use correct data types for ICMPv6 type and code