[PATCH 6.11 102/107] mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling