ip-packet: Fix length in IPv6 header of generated packets