Fix binding of CubeMapArray textures


To bind to a specific face: use glFramebufferTextureLayer and calculate
the layer as 6 * layer + face.

To bind to a specific cubemap: There is no way in OpenGL to directly
bind  to an entire cubemap within the array.  Instead bind to the entire
texture as for a CubeMap with AllFaces. It is up to the drawing code
to select the right cubemap and face, 6 * layer + face

Change-Id: Ib9e1a598503eeba1fa729677944aba6d799f90b2
Pick-to: 5.15 6.0
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commit94ab90f93dc5338338f30e6d78854b55353d3cb8
parente09188f773ab287dd8c4569a1996d89113bfd5d7
authorJim Albamont <jim.albamont@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeFri, 11 Dec 2020 06:56:46 +0000