XCB/XVideo: fix flawed logic for adaptor selection