glthread: check for invalid primitive modes in DrawElementsBaseVertex
What does this MR do and why?
glthread: check for invalid primitive modes in DrawElementsBaseVertex
fixes KHR-GLESEXT.draw_elements_base_vertex_tests.invalid_mode_argument
cc: mesa-stable