[mesa 8/9] glx/dri2: Move the wait after SwapBuffers into the next GetBuffers