fix #25478: deleting an instrument causes rehearsal marks to vanish, also fix volta for the same bug
convert enum ArticulationAnchor to enum class
convert enum ChordLineType to enum class
convert unnamed enum to enum class CrossMeasure
convert enum DurationType to enum class
convert enum DynamicType to enum class
convert enum HairpinType to enum class
convert enum Placement to enum class
convert enum DynamicRange to enum class
convert enum ImageType to enum class
convert enum AccidentalRole to enum class
convert enum AccidentalType to enum class
convert enum Type to enum class
convert enum InstrumentNameType to enum class
convert enum LayoutBreakType to enum class
convert "enum class" to "enum class : char"

or "enum class : signed char" or even "enum class: short", whatever/whenever feasible on all exsting "enum class" that don't have it yet, also fixing some signed vs. unadorned char. This
should reduce the memory footprint.
convert unnamed enum to enum ArticulationShowIn

and made it ": char". Making it a class requires more work,
unfortunatly.
convert enum HDegreeType into enum class
convert enum RenderActionType into enum class
convert enum ChordTokenClass into enum class