[GEOS-6645] NPE when trying to reload bands with empty range
Merge pull request #749 from n-lagomarsini/GEOS-6645_2_5

[GEOS-6645] NPE when trying to reload bands with empty range (Backport on 2.5.x)