Port away from deprecated KPluginLoader::instantiatePlugins()
I could not find any plugin though to test this with?
Code change basically done by copying implementation of KPluginLoader::instantiatePlugins() and merging loops with the existing code, so in theory should work as before.