print-tcp: separate tcp_seq_hash into ipv4 and ipv6 versions

This cleans up and removes some duplicate code. The ipv4 and ipv6 versions of
the codepath are virtually identical now save for the variable types.