don't load shortcuts without GUI

i.e. in converter- or plugin mode, as it doesn't make any sense then.

The initialization is needed though, else MuseScore crashes in converter mode