Make the prefix-to-netmask conversion work on big-endian too.