Fix GLSL compile errors for tests\vs5\tempArray

Preserve data type of temp registers used to index into temp array.
Mark dest of AND/OR/XOR as integer.