Refactor Grib save handling of grid templates, for clarity.

The major/minor radii are a little silly because ultimately they would be stored as integers and hence both end up as one ... but technically that doesn't really matter here since we're testing the value that's sent to the ECMWF GRIB API, not the result of calling the ECMWF GRIB API.

In short, I'm OK to merge this.