[AArch64][NFC] Replace StringSwitch with EnumStrings (#236142)
Large StringSwitches generate a lot of code, which takes a long time to
compile (JumpThreadingPass on this function is the slowest pass
invocation in LLVM). Replace the StringSwitch with static strings.
This reduces the size of the object file by ~70 kiB and its compile time
by ~33%.