st/mesa: do vertex and fragment color clamping in shaders