Remove casts to long that cause > 4 GB files not to be correctly handled on Linux32, Win32 or Win64

git-svn-id: https://svn.osgeo.org/gdal/trunk/gdal@26886 f0d54148-0727-0410-94bb-9a71ac55c965
Remove casts to long that cause > 4 GB files not to be correctly handled on Linux32, Win32 or Win64

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