Fix Issue 10662 - byLine!(Char, immutable Char) won't compile

This wouldn't compile because `readln(buf)` now requires a mutable `buf`.
Also make `ByLine.line`, `ByLine.first_call` private.