[Win32 debugger] Minor optimization and warning fix