Update ec_os_mingw.h

Add getenv() replacement. Add ec_win_init() prototype; can no longer be be a gcc-constructor to support MSVC. Add no-op macros for seteuid(), WEXITSTATUS() and WIFEXITED().