shader: Workaround texture*() GLSL functions for GLES

These functions are not available for samplerArray2DShadow so workaround them.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>