netfilter: flowtable: split IPv6 datapath in helper functions