Instead of using hard-coded array indices that happen to match the `FMODIFIER_TYPE_...` enum values, actually use the enum items. Also add some assertions that those indices actually match the type numbers declared by the `FModifierTypeInfo` structs. To avoid rewrapping long lines, remove comments that basically repeat the code anyway. No functional changes. Pull Request: https://projects.blender.org/blender/blender/pulls/123906