Fix compilation on Plasma/5.24 branch
5b241e1e removed that definitions, but they are still on the 5.24 branch. I will take care of bumping the KDE_COMPILERSETTINGS_LEVEL to a reasonable version and consequently the definitions will be set by ECM - as the mentioned commit claims it is already done.