Refactor Grib save handling of grid templates, for clarity.

The parameter order is `(cube, grib)` everywhere else.