[PATCH 4/4] msvcrt: Improve error handling in _wgetenv_s.