CMake: guard qmultimedia_gl_support_p.h by QT_FEATURE_opengl


We we can't compile the gl_support functionality if opengl is not
supported (which seems to be the case for visionos)

Pick-to: 6.12
Change-Id: Ie5a159e1651021ea89cc8d4cf6e0b261e4d984e5
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit28398674ff675eccd762b9aa884b0746ffee3eec
parent7648e5a98bff57db78bb34d9ba1fa1973163cb18
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 21 Sep 2026 11:09:05 +0000