Fix eol checking for read array in ExtendedBufferedReader

Characters in buffer before offset are unspecified