st/mesa: allow glDrawElements to work with GL_SELECT feedback