Make sure we don't leak when an opcode is followed by itself
Make sure we don't leak when an opcode is followed by itself

When compiling with GCC it is now possible for an opcode followed by
itself to never leave the scope it is currently in. This leads to a
situation where the dtor of a scope local variable isn't called which in
turn can lead to a memory leak.

By moving the goto outside of the scope of each opcode we guarantee that
all dtors have been called before the next opcode gets dispatched.

this fixes #12401

honix/godot,ZuBsPaCe/godot,ex/godot,MarianoGnu/godot,honix/godot,vnen/godot,RandomShaper/godot,godotengine/godot,Shockblast/godot,Shockblast/godot,ZuBsPaCe/godot,NateWardawg/godot,BastiaanOlij/godot,honix/godot,Shockblast/godot,pkowal1982/godot,RandomShaper/godot,firefly2442/godot,Shockblast/godot,okamstudio/godot,pkowal1982/godot,NateWardawg/godot,Faless/godot,BastiaanOlij/godot,n-pigeon/godot,Zylann/godot,vkbsb/godot,Shockblast/godot,ex/godot,akien-mga/godot,MarianoGnu/godot,okamstudio/godot,Faless/godot,groud/godot,vkbsb/godot,sanikoyes/godot,pkowal1982/godot,groud/godot,okamstudio/godot,Valentactive/godot,ex/godot,Zylann/godot,Paulloz/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,josempans/godot,Faless/godot,DmitriySalnikov/godot,BastiaanOlij/godot,okamstudio/godot,BastiaanOlij/godot,Paulloz/godot,sanikoyes/godot,Faless/godot,guilhermefelipecgs/godot,sanikoyes/godot,honix/godot,RandomShaper/godot,vkbsb/godot,n-pigeon/godot,NateWardawg/godot,BastiaanOlij/godot,vnen/godot,godotengine/godot,NateWardawg/godot,Zylann/godot,akien-mga/godot,Faless/godot,BastiaanOlij/godot,groud/godot,Zylann/godot,sanikoyes/godot,Zylann/godot,vnen/godot,vkbsb/godot,DmitriySalnikov/godot,ZuBsPaCe/godot,MarianoGnu/godot,firefly2442/godot,sanikoyes/godot,n-pigeon/godot,DmitriySalnikov/godot,vkbsb/godot,josempans/godot,Zylann/godot,okamstudio/godot,pkowal1982/godot,ex/godot,groud/godot,josempans/godot,RandomShaper/godot,vnen/godot,mcanders/godot,NateWardawg/godot,vnen/godot,firefly2442/godot,godotengine/godot,Paulloz/godot,ZuBsPaCe/godot,MarianoGnu/godot,Valentactive/godot,sanikoyes/godot,n-pigeon/godot,DmitriySalnikov/godot,Valentactive/godot,josempans/godot,ex/godot,godotengine/godot,Valentactive/godot,mcanders/godot,firefly2442/godot,okamstudio/godot,ZuBsPaCe/godot,akien-mga/godot,vkbsb/godot,Valentactive/godot,DmitriySalnikov/godot,vnen/godot,okamstudio/godot,Paulloz/godot,ex/godot,mcanders/godot,NateWardawg/godot,NateWardawg/godot,guilhermefelipecgs/godot,MarianoGnu/godot,ZuBsPaCe/godot,godotengine/godot,akien-mga/godot,josempans/godot,okamstudio/godot,Faless/godot,Zylann/godot,vnen/godot,DmitriySalnikov/godot,okamstudio/godot,guilhermefelipecgs/godot,ex/godot,ex/godot,mcanders/godot,ZuBsPaCe/godot,NateWardawg/godot,firefly2442/godot,josempans/godot,RandomShaper/godot,MarianoGnu/godot,mcanders/godot,ZuBsPaCe/godot,mcanders/godot,akien-mga/godot,akien-mga/godot,okamstudio/godot,guilhermefelipecgs/godot,akien-mga/godot,n-pigeon/godot,RandomShaper/godot,honix/godot,vkbsb/godot,Valentactive/godot,Faless/godot,sanikoyes/godot,Shockblast/godot,pkowal1982/godot,Shockblast/godot,josempans/godot,n-pigeon/godot,Paulloz/godot,Valentactive/godot,godotengine/godot,firefly2442/godot,pkowal1982/godot,RandomShaper/godot,Paulloz/godot,pkowal1982/godot,vkbsb/godot,godotengine/godot,Valentactive/godot,BastiaanOlij/godot,Zylann/godot,groud/godot,groud/godot,NateWardawg/godot,guilhermefelipecgs/godot,vnen/godot,akien-mga/godot,Faless/godot,godotengine/godot,pkowal1982/godot,MarianoGnu/godot,firefly2442/godot,josempans/godot,BastiaanOlij/godot,Paulloz/godot,sanikoyes/godot,firefly2442/godot,honix/godot,DmitriySalnikov/godot,MarianoGnu/godot,Shockblast/godot,guilhermefelipecgs/godot,n-pigeon/godot