CSV: fix to avoid truncation of WKT geometries to 8000 characters (#5508)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27434 f0d54148-0727-0410-94bb-9a71ac55c965