RHI: fix face index for texture upload


Needs to be an index between 0 - 5 and not the GL enum value.
Fixes crash when QAbstractTexture::updateData is called. Other code
paths that use Texture Images already had that fix in.

Change-Id: I2390d71e23d8d481e3d212942dd11a4fd31958ef
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commit274e15a01111562873570746b115ef8a264ba0f9
parent1ca56df0482c711cb980c62a5fb50fdfe7728711
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeTue, 20 Oct 2020 14:30:21 +0200