Merge pull request #9447 from Dentomologist/convert_indextype_to_enum_class Arm64Emitter: Convert IndexType to enum class