glx: Replace DRI2SwapBuffers() custom protocol with XCB.