Fix console output for MinGW compilers
Fix console output for MinGW compilers

Reworked patch from @jay3d (#7116).
okamstudio/godot,Marqin/godot,zicklag/godot,godotengine/godot,n-pigeon/godot,pkowal1982/godot,MarianoGnu/godot,NateWardawg/godot,RebelliousX/Go_Dot,ageazrael/godot,ex/godot,pkowal1982/godot,Faless/godot,godotengine/godot,zicklag/godot,okamstudio/godot,akien-mga/godot,ex/godot,Shockblast/godot,NateWardawg/godot,morrow1nd/godot,sanikoyes/godot,vkbsb/godot,okamstudio/godot,sanikoyes/godot,RandomShaper/godot,Marqin/godot,firefly2442/godot,ex/godot,Zylann/godot,ficoos/godot,josempans/godot,Max-Might/godot,mcanders/godot,mcanders/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,DmitriySalnikov/godot,Zylann/godot,ex/godot,groud/godot,BastiaanOlij/godot,honix/godot,RebelliousX/Go_Dot,exabon/godot,okamstudio/godot,Paulloz/godot,godotengine/godot,Valentactive/godot,groud/godot,tomreyn/godot,josempans/godot,RandomShaper/godot,sanikoyes/godot,akien-mga/godot,vkbsb/godot,pkowal1982/godot,zicklag/godot,sanikoyes/godot,tomreyn/godot,groud/godot,josempans/godot,MarianoGnu/godot,Brickcaster/godot,n-pigeon/godot,godotengine/godot,ZuBsPaCe/godot,vnen/godot,Paulloz/godot,pkowal1982/godot,exabon/godot,ZuBsPaCe/godot,Faless/godot,okamstudio/godot,NateWardawg/godot,Paulloz/godot,Marqin/godot,RandomShaper/godot,vkbsb/godot,vkbsb/godot,ageazrael/godot,MarianoGnu/godot,Valentactive/godot,ZuBsPaCe/godot,Faless/godot,Max-Might/godot,Brickcaster/godot,morrow1nd/godot,godotengine/godot,groud/godot,MrMaidx/godot,vnen/godot,Faless/godot,sanikoyes/godot,Zylann/godot,vkbsb/godot,ficoos/godot,firefly2442/godot,Shockblast/godot,RebelliousX/Go_Dot,Shockblast/godot,Valentactive/godot,ficoos/godot,MrMaidx/godot,vnen/godot,Brickcaster/godot,morrow1nd/godot,sanikoyes/godot,Shockblast/godot,ZuBsPaCe/godot,Paulloz/godot,firefly2442/godot,Brickcaster/godot,ex/godot,MrMaidx/godot,josempans/godot,akien-mga/godot,MrMaidx/godot,DmitriySalnikov/godot,BastiaanOlij/godot,ZuBsPaCe/godot,Zylann/godot,akien-mga/godot,pkowal1982/godot,pkowal1982/godot,zicklag/godot,akien-mga/godot,FateAce/godot,Faless/godot,NateWardawg/godot,NateWardawg/godot,RandomShaper/godot,RandomShaper/godot,Valentactive/godot,DmitriySalnikov/godot,sanikoyes/godot,morrow1nd/godot,ex/godot,mcanders/godot,honix/godot,okamstudio/godot,Shockblast/godot,Faless/godot,guilhermefelipecgs/godot,Brickcaster/godot,vnen/godot,jejung/godot,Shockblast/godot,Zylann/godot,jejung/godot,vkbsb/godot,tomreyn/godot,BastiaanOlij/godot,vnen/godot,Marqin/godot,MrMaidx/godot,Paulloz/godot,MarianoGnu/godot,okamstudio/godot,Zylann/godot,zicklag/godot,Max-Might/godot,akien-mga/godot,n-pigeon/godot,guilhermefelipecgs/godot,okamstudio/godot,honix/godot,Shockblast/godot,zicklag/godot,firefly2442/godot,Shockblast/godot,Brickcaster/godot,mcanders/godot,Paulloz/godot,RandomShaper/godot,Valentactive/godot,NateWardawg/godot,akien-mga/godot,okamstudio/godot,ex/godot,NateWardawg/godot,ZuBsPaCe/godot,BastiaanOlij/godot,Marqin/godot,sanikoyes/godot,Valentactive/godot,Paulloz/godot,honix/godot,FateAce/godot,ficoos/godot,tomreyn/godot,honix/godot,pkowal1982/godot,godotengine/godot,guilhermefelipecgs/godot,exabon/godot,MarianoGnu/godot,ZuBsPaCe/godot,josempans/godot,firefly2442/godot,n-pigeon/godot,Max-Might/godot,exabon/godot,honix/godot,MrMaidx/godot,ageazrael/godot,NateWardawg/godot,jejung/godot,jejung/godot,okamstudio/godot,FateAce/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,n-pigeon/godot,Zylann/godot,ageazrael/godot,BastiaanOlij/godot,BastiaanOlij/godot,DmitriySalnikov/godot,DmitriySalnikov/godot,vkbsb/godot,Max-Might/godot,vkbsb/godot,RebelliousX/Go_Dot,josempans/godot,jejung/godot,guilhermefelipecgs/godot,ficoos/godot,MarianoGnu/godot,pkowal1982/godot,Marqin/godot,Faless/godot,exabon/godot,vnen/godot,Max-Might/godot,exabon/godot,akien-mga/godot,jejung/godot,n-pigeon/godot,ficoos/godot,FateAce/godot,FateAce/godot,guilhermefelipecgs/godot,RebelliousX/Go_Dot,morrow1nd/godot,godotengine/godot,Valentactive/godot,vnen/godot,groud/godot,mcanders/godot,DmitriySalnikov/godot,guilhermefelipecgs/godot,Valentactive/godot,RandomShaper/godot,NateWardawg/godot,firefly2442/godot,ex/godot,ageazrael/godot,ZuBsPaCe/godot,tomreyn/godot,morrow1nd/godot,josempans/godot,Zylann/godot,BastiaanOlij/godot,RebelliousX/Go_Dot,godotengine/godot,Faless/godot,ageazrael/godot,groud/godot,ageazrael/godot,FateAce/godot,firefly2442/godot,Brickcaster/godot,firefly2442/godot,MarianoGnu/godot,josempans/godot,MarianoGnu/godot,mcanders/godot,n-pigeon/godot,vnen/godot