DXF: avoid building an invalid polygon from A POLYGON when edges cannot be reassembled: turn it into a multilinestring

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