Warn and deprecate passing a salt environment to `env` which is to be used for system environment variables.
Also deprecated wrong `env` usage in the `cmd` state.