Fix for typo issue in XGetXCBConnection

Fixed the typo issue in XGetXCBConnection.