read length as unsigned int to fix decoding of very large GRIB1 files