fix #28336: Sending 'program change' message to JACK MIDI Out

Commits are ready for the merge: https://github.com/Igevorse/MuseScore/commit/f9426e1f6aa62ecdaa7e56d516c8a9cff12d9695 https://github.com/Igevorse/MuseScore/commit/1a774369e916bc5f70b35d2765e10a89405ce922