adapt modis reader for [BEAM-1504] - Update NetCDF library to version 4.3.16
(cherry picked from commit 9518dec)