wasm: Fix default setting of GLSL


The code tested for WASM, which did not work.
Replaced by testing for EMSCRIPTEN instead

WASM is set in file QtPlatformSupportCMake which
is not included by default for external builds.

Pick-to: 6.11 6.10
Change-Id: Id286c2146b4626733553a4b9076203eb3bde97f5
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
commitf260b507965d15716ca6b2f5796e33be5c6ab83f
parentdb463a4faa8a66cce4a70165b6eb9712179d4d7d
authorEven Oscar Andersen <even.oscar.andersen@qt.io>
committerEven Oscar Andersen <even.oscar.andersen@qt.io>
commit timeWed, 10 Dec 2025 13:05:46 +0100