[PATCH 5.15 048/565] mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling