OSM: make the driver work with PBF files produced by osmconvert that can have large blobs and thus temporarily cause more than MAX_THRESHOLD features to accumulate in a layer

git-svn-id: https://svn.osgeo.org/gdal/trunk@27138 f0d54148-0727-0410-94bb-9a71ac55c965
OSM: output error message if an error occurs when writing to the temporary nodes file (particularly in out of free space conditions)

git-svn-id: https://svn.osgeo.org/gdal/trunk@27139 f0d54148-0727-0410-94bb-9a71ac55c965
Merge branch 'trunk' into trunk_travis_macosx