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