gallium: add st_context_iface::flush_resource to call FLUSH_VERTICES