Deprecate runas in state modules

Deprecate `runas` in state modules. Fixes #6961.