crt: Fix mingw-w64 getenv_s() emulation for case when the variable name is NULL

This special case does not throw an exception from invalid parameter handler.

Co-authored-by: LIU Hao <lh_mouse@126.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2 files changed