MinGW: simplify waitpid() emulation macros