Fix null pointer crash in audio preferences.

When MuseScore is set to use Jack, the PortAudio driver returns null.
Fix null pointer crash in preferences

When turning off "use JackAudio" in preferences, l and r get set to null.
In this case, skip the section that uses them.
Merge pull request #207 from softins/preferences-crash-fix

Preferences crash fix