Fix some fd leaks in _xcb_open_*()