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.
Merge pull request #7223 from s0undt3ch/hotfix/wrong-env-usage

Wrong env usage