dependencies/qt: fix debugoptimized builds with qt
dependencies/qt: fix debugoptimized builds with qt

debugoptimized builds building against Qt would ultimately link against
both the debug and non-debug msvcrt, ntdll, etc libraries which causes
crashes in weird places and is very much not recommended by Microsoft.

This changes the selected Qt library(ies) correctly to not uses the
debug variants for debugoptimized builds.

https://github.com/mesonbuild/meson/pull/3680

pexip/meson,thiblahute/meson,becm/meson,pexip/meson,becm/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,jeandet/meson,jeandet/meson,becm/meson,QuLogic/meson,MathieuDuponchelle/meson,jeandet/meson,becm/meson,pexip/meson,MathieuDuponchelle/meson,mesonbuild/meson,MathieuDuponchelle/meson,thiblahute/meson,MathieuDuponchelle/meson,becm/meson,becm/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,becm/meson,MathieuDuponchelle/meson,QuLogic/meson,pexip/meson,mesonbuild/meson,jpakkane/meson,jpakkane/meson,becm/meson,jpakkane/meson,QuLogic/meson,jeandet/meson,pexip/meson,thiblahute/meson,jpakkane/meson,thiblahute/meson,jpakkane/meson,mesonbuild/meson,mesonbuild/meson,QuLogic/meson,QuLogic/meson,mesonbuild/meson,QuLogic/meson,MathieuDuponchelle/meson,mesonbuild/meson,jpakkane/meson,thiblahute/meson,jeandet/meson,jpakkane/meson,becm/meson,QuLogic/meson,thiblahute/meson,thiblahute/meson,becm/meson,mesonbuild/meson,pexip/meson,MathieuDuponchelle/meson,QuLogic/meson,MathieuDuponchelle/meson,pexip/meson,jpakkane/meson,thiblahute/meson,jeandet/meson,jeandet/meson,MathieuDuponchelle/meson,jeandet/meson,thiblahute/meson,jeandet/meson,pexip/meson,jpakkane/meson