The constants for wxFILE_EXISTS_FIFO and wxFILE_EXISTS_SOCKET were wrongly defined, mixing up their decimal and hexadecimal values, resulting in wxFILE_EXISTS_FIFO & wxFILE_EXISTS_DIR being wrongly non zero. Fix this by redefining these bit masks correctly to avoid overlapping the other values. Closes #18846.