Fix comparison with IntStream.EOF