mesa: fix texstore with GL_COLOR_INDEX data