This is a followup to #20852 which allowed non-IP subnets, but some of them, e.g. torv3, cannot be serialized in 16 bytes (addrv1) and must use addrv2.
This PR changes the format of banlist.dat
in such a way that old
versions (before this commit) will not be able to read a file written by
new versions (after this commit).