radeonsi: fix cubemaps viewed as 2D
radeonsi: fix cubemaps viewed as 2D

This fixes: GL43-CTS.texture_view.view_sampling

v2: fix a typo, merge both if statements

Cc: 59f39c0db42d4479a46b02d4d2bc11120e37bb44@lists.freedesktop.org
Reviewed-by: Dave Airlie <f2295d84e358395675bc8031be58672073ae065e@redhat.com> (v1)
Reviewed-by: Bas Nieuwenhuizen <1d31d94f30d40df7951505d1034e1e923d02ec49@basnieuwenhuizen.nl> (v1)
Reviewed-by: Nicolai Hähnle <0d0be6cf5ad662651be2dc5dfd44aa2b09d4c1cc@amd.com>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler