st/mesa: extract conversion from pipe_reset_status to GLenum
st/mesa: extract conversion from pipe_reset_status to GLenum

Reviewed-by: Edward O'Callaghan <b035da0d7e151e09fe2005f3a7bc526beb9b3245@folklore1984.net>
Reviewed-by: Marek Olšák <8c7344a1abdb103e79ecfd488098373070c3c70e@amd.com>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler