read_csv newline fix
Slight change to the logic in the `tokenize_delimited()` and `tokenize_delim_customterm()` functions of the C parser.

Fixes #10022.

I believe the new logic is correct, but perhaps someone with more familiarity can double-check.
