main: Refactor _mesa_[update|get]_clamp_vertex_color.