BUG:379114 Don't crash when loading images with a file layer
We cannot load images outside the GUI thread because of all the
qobjects that can be created. Besides, the spinning bar dialog
is the wrong approach to feedback, especially if the statusbar
progressbar is still present, but Krita should be giving progress
feedback in the statusbar.