tests: fix utmpdump/ipv6tobin for bigendian