VRT: make sure nodata value set on VRT raster band is taken into account in statistics computation (#5463)

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