glstate: Recognize that depth parameter is not 1 for CUBE_MAP_ARRAY.