[NativeScript] fix mutex double lock
[NativeScript] fix mutex double lock

In 3c53b35 a bug got introduced where a mutex gets locked twice
instead of locked and then unlocked.
This path fixes that.

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