Fix hang in xcb_request_check()
This fixes xorg/lib/libxcb#53 The issue was that libxcb expected to get a reply based on the request_expected variable, but a reply would never arrive because the request was never actually written. To resolve this, a separate request_expected_written variable is added.