Add support for string source in EndOfLine cop

`ProcessedSource` supports string sources, but `EndOfLine` cop would fail. This
ensures that `EndOfLine` cope supports strings.