Removed ImageCmsProfile._set method by radarhere · Pull Request #9032 · python-pillow/Pillow

This separates part of #8995. I have a question about another part of that PR, so this moves forward a portion of it at least.

#8995

The _set method is no longer necessary, since we no longer compute any attributes from the profile. In most cases, we only set the profile, and in only one branch do we set the filename to anything non-None.