Add GRIB2 workaround helper for float32->int32.

Adds a function which makes it easy to deal with bugs in the ECMWF GRIB API where it treats an IEEE 32-bit floating-point as a signed, 4-byte integer. (This is relevant to #1477.)
Bother.