Debugger: Fix crash in console stub on Windows
Debugger: Fix crash in console stub on Windows

by partially undoing 1a8978697923a95b636027ac67ae7059d81895e7

Task-number: QTCREATORBUG-1020

Distrotech/qtcreator,AltarBeastiful/qt-creator,dmik/qt-creator-os2,martyone/sailfish-qtcreator,farseerri/git_code,omniacreator/qtcreator,maui-packages/qt-creator,pcacjr/qt-creator,malikcjm/qtcreator,renatofilho/QtCreator,xianian/qt-creator,xianian/qt-creator,richardmg/qtcreator,renatofilho/QtCreator,KDE/android-qt-creator,jonnor/qt-creator,farseerri/git_code,azat/qtcreator,ostash/qt-creator-i18n-uk,jonnor/qt-creator,kuba1/qtcreator,colede/qtcreator,azat/qtcreator,richardmg/qtcreator,yinyunqiao/qtcreator,xianian/qt-creator,hdweiss/qt-creator-visualizer,maui-packages/qt-creator,danimo/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,dmik/qt-creator-os2,Distrotech/qtcreator,syntheticpp/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,bakaiadam/collaborative_qt_creator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,pcacjr/qt-creator,KDAB/KDAB-Creator,danimo/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,jonnor/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,syntheticpp/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,maui-packages/qt-creator,yinyunqiao/qtcreator,farseerri/git_code,Distrotech/qtcreator,martyone/sailfish-qtcreator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,pcacjr/qt-creator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,hdweiss/qt-creator-visualizer,AltarBeastiful/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,martyone/sailfish-qtcreator,xianian/qt-creator,malikcjm/qtcreator,danimo/qt-creator,colede/qtcreator,pcacjr/qt-creator,KDAB/KDAB-Creator,maui-packages/qt-creator,duythanhphan/qt-creator,bakaiadam/collaborative_qt_creator,KDAB/KDAB-Creator,sandsmark/qtcreator-minimap,AltarBeastiful/qt-creator,hdweiss/qt-creator-visualizer,renatofilho/QtCreator,yinyunqiao/qtcreator,AltarBeastiful/qt-creator,syntheticpp/qt-creator,sandsmark/qtcreator-minimap,maui-packages/qt-creator,richardmg/qtcreator,sandsmark/qtcreator-minimap,colede/qtcreator,kuba1/qtcreator,omniacreator/qtcreator,duythanhphan/qt-creator,pcacjr/qt-creator,dmik/qt-creator-os2,hdweiss/qt-creator-visualizer,maui-packages/qt-creator,danimo/qt-creator,bakaiadam/collaborative_qt_creator,malikcjm/qtcreator,duythanhphan/qt-creator,jonnor/qt-creator,KDE/android-qt-creator,renatofilho/QtCreator,KDE/android-qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,darksylinc/qt-creator,danimo/qt-creator,darksylinc/qt-creator,pcacjr/qt-creator,KDAB/KDAB-Creator,duythanhphan/qt-creator,amyvmiwei/qt-creator,jonnor/qt-creator,azat/qtcreator,malikcjm/qtcreator,Distrotech/qtcreator,yinyunqiao/qtcreator,azat/qtcreator,Distrotech/qtcreator,danimo/qt-creator,xianian/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,richardmg/qtcreator,farseerri/git_code,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,xianian/qt-creator,duythanhphan/qt-creator,Distrotech/qtcreator,sandsmark/qtcreator-minimap,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,yinyunqiao/qtcreator,kuba1/qtcreator,darksylinc/qt-creator,dmik/qt-creator-os2,yinyunqiao/qtcreator,richardmg/qtcreator,colede/qtcreator,amyvmiwei/qt-creator,malikcjm/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,renatofilho/QtCreator,kuba1/qtcreator,pcacjr/qt-creator,AltarBeastiful/qt-creator,renatofilho/QtCreator,KDE/android-qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,amyvmiwei/qt-creator,kuba1/qtcreator,dmik/qt-creator-os2,Distrotech/qtcreator,colede/qtcreator,danimo/qt-creator,sandsmark/qtcreator-minimap,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,KDE/android-qt-creator,darksylinc/qt-creator,richardmg/qtcreator,farseerri/git_code,richardmg/qtcreator,sandsmark/qtcreator-minimap,farseerri/git_code,darksylinc/qt-creator,bakaiadam/collaborative_qt_creator,malikcjm/qtcreator,xianian/qt-creator,azat/qtcreator,syntheticpp/qt-creator,colede/qtcreator,danimo/qt-creator,xianian/qt-creator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,dmik/qt-creator-os2,azat/qtcreator,jonnor/qt-creator,syntheticpp/qt-creator,kuba1/qtcreator,yinyunqiao/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,ostash/qt-creator-i18n-uk,hdweiss/qt-creator-visualizer