[mcs] Don't use `1 naming for compiler generated second level and deeper nested types. Fixes #22893