Fix another socket descriptor comparison that doesn't work correctly if the descriptor type is unsigned.