crt: Move implementation of __initenv and __winitenv to common file misc/__initenv.c

crtdll.dll and ucrt needs same implementation of __initenv and __winitenv
symbols. Deduplicate code and move it into a new misc/__initenv.c file.

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