[win] Fix HDR support with Qt6 on Windows
The patch refacors all the hand-made "ifdef qt6" for the surface color space value into a single class named KisSurfaceColorSpaceWrapper. The class automatically switches the color space type depending on the version of Qt, so no manual checks are needed anywhere.
The patch also fixes a few misprints in these ifdefs that prevented HDR from initializing.