fix #31391: fix concert pitch switch to not affect linked scores

This had been working, but broke with a recent fix (https://github.com/musescore/MuseScore/commit/f05a051ea45087c29d27c23c470d602d6fe8676d) for a related bug (http://musescore.org/node/29616).

I have tested that my changes here (which reverts a portion of the above fix that was unnecessary) fixes the issue at hand while still fixing the original problem that previous commit addressed.