Draft: Apply color space conversion for opacity
Since KWin now does blending in linear space, old opacity values will now make transparent colors appear less opaque than before.
Apply a conversion for the alpha channel value so that it looks the same.
Draft, because I'm not sure whether this is correct, and the code is definitely not optimal.