KEmoticons: fix crash when loadProvider fails for some reason.
Review Request #127428 - Created March 19, 2016 and submitted
Noticed in the CI which says: Invalid plugin factory for "kf5/emoticonsthemes/kde"
Removing lib64/plugins/kf5/emoticonsthemes/kde.so locally, I got the crash too, this fixes it.
Of course the unittest fails then, as expected, it just doesn't crash anymore.
I think some env vars are missing in Jenkins....