xcb_connect_to_fd: fix descriptor leak on memory error path