virgl: Flush context before waiting on fences
The logic behind this change is intuitive: if we are waiting for something, we should probably flush all pending rendering so that it starts executing in the meantime. This prevents the GPU from sitting idle for long periods of time while we are also blocked in the app.
With the gun3d trace: Before: 79 fps After: 215 fps