glslang: fix missing namespacing


* functions declared inside an extern "C" block are not name mangled,
  even if they are in namespaces. We close the extern "C" block before
  opening the namespace
* the resource limit files were not namespaced inside a QtShaderTools
  block, resulting in their symbols being exported.

Pick-to: 6.10
Change-Id: Ie7a72028ec32e10e3f8bdea4f15bbbc70863fb21
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commit496042a63a08d0564c3795e15da630a416a4979e
parentbe489726c9cd39d01b84e164aefc6144a682b67f
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 22 Sep 2025 16:36:49 +0800