Fix eol checking for read array in ExtendedBufferedReader