Third batch of Qt6 porting patches
This (together with !2287 (merged)) builds krita's libraries up to libs/flake, where things starting to fail on changes to QTabletEvent.
The bit where I am most unsure is KoColorSet, with the QStringView/QStringRef changes.