glthread: inline _mesa_unmarshal_dispatch_cmd and convert the switch to a table