[PATCH resend 1/2] winedbg: Adapt build_command_line() from winevdm