Suppress invalid units warnings

Add a context manager to suppress the occasionally very verbose warnings raised when an invalid unit is encountered by the Iris load process. For example, the following warnings messages (including the error from UDUNITS2) would all be suppressed:

```
/../site-packages/iris/fileformats/_pyke_rules/compiled_krb/fc_rules_cf_fc.py:1195: UserWarning: Ignoring netCDF variable 'surface' invalid units 'level'
  warnings.warn(msg.format(msg_name, msg_units))
ut_scale(): NULL factor argument
```

The benefit of this is that more significant warnings may otherwise be lost in the noise, particularly if a dataset has many invalid units and/or cannot be otherwise modified to add valid units.
Writing it this way allowed me to factor catching the warnings into the function `catch_warnings`. This was beneficial when I had more tests here, but with only two it could easily be argued that legibility outweighs code repetition.