gdi32: Use exec() and _exit() instead of system() and exit().