[GDNative] fix two crashes with NativeScript
[GDNative] fix two crashes with NativeScript

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