Fix: loading guard should be before cpo-save

If script finishes after cpo-save, `&cpo` remains as `cpo&vim`.
It is better to check loading guard before cpo-save.