Fix build for compilers supporting Q_DECL_OVERRIDE

The method QIconEnginePlugin::keys() existed only in Qt 4.x. So for Qt 5,
the build with compilers supporting Q_DECL_OVERRIDE resulted in a build
error.