[Fix #668] Use encoding from Parser in call to IO.read in EndOfLine.

The Source::Buffer object we get from Parser has an encoding that has been
figured out based on BOM and magic encoding comment. Use it.
Merge pull request #677 from jonas054/fix_eol_cop_encoding_problem

[Fix #668] Use encoding from Parser in call to IO.read in EndOfLine.