Make CSV deprecation less annoying to deal with (#15569)
Fix GH-11982: str_getcsv returns null byte for unterminated quoted string Closes GH-12047