SCons: Disable `-Werror=return-type` for GCC 12+ due to regression
SCons: Disable `-Werror=return-type` for GCC 12+ due to regression

Works around and thus closes #58747.
Supersedes #60613.

Shockblast/godot,Zylann/godot,ZuBsPaCe/godot,josempans/godot,pkowal1982/godot,Valentactive/godot,vkbsb/godot,Zylann/godot,ZuBsPaCe/godot,firefly2442/godot,josempans/godot,guilhermefelipecgs/godot,josempans/godot,Valentactive/godot,godotengine/godot,godotengine/godot,Shockblast/godot,godotengine/godot,josempans/godot,Shockblast/godot,BastiaanOlij/godot,ZuBsPaCe/godot,sanikoyes/godot,guilhermefelipecgs/godot,Zylann/godot,pkowal1982/godot,sanikoyes/godot,godotengine/godot,Shockblast/godot,BastiaanOlij/godot,Valentactive/godot,guilhermefelipecgs/godot,firefly2442/godot,sanikoyes/godot,vkbsb/godot,guilhermefelipecgs/godot,vkbsb/godot,ZuBsPaCe/godot,Shockblast/godot,ZuBsPaCe/godot,Zylann/godot,sanikoyes/godot,akien-mga/godot,firefly2442/godot,sanikoyes/godot,godotengine/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,BastiaanOlij/godot,Valentactive/godot,pkowal1982/godot,pkowal1982/godot,akien-mga/godot,josempans/godot,firefly2442/godot,sanikoyes/godot,josempans/godot,firefly2442/godot,Valentactive/godot,akien-mga/godot,guilhermefelipecgs/godot,akien-mga/godot,josempans/godot,BastiaanOlij/godot,josempans/godot,vkbsb/godot,pkowal1982/godot,firefly2442/godot,Valentactive/godot,pkowal1982/godot,BastiaanOlij/godot,firefly2442/godot,godotengine/godot,akien-mga/godot,akien-mga/godot,Zylann/godot,vkbsb/godot,BastiaanOlij/godot,sanikoyes/godot,Shockblast/godot,vkbsb/godot,Zylann/godot,Zylann/godot,guilhermefelipecgs/godot,akien-mga/godot,Shockblast/godot,godotengine/godot,Valentactive/godot,godotengine/godot,pkowal1982/godot,BastiaanOlij/godot,vkbsb/godot,ZuBsPaCe/godot,Valentactive/godot,sanikoyes/godot,Zylann/godot,akien-mga/godot,Shockblast/godot,firefly2442/godot,pkowal1982/godot,vkbsb/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,ZuBsPaCe/godot