Add XCBRequestCheck function needed for Plan 7.