[Core] Make enum variant cast and encoding 64 bits
[Core] Make enum variant cast and encoding 64 bits

This should fix various issues where retrieving enum values from
scripting languages would result in corrupted values (where 32 bits
were valid, and the other 32 random data).

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