Rewrite any 'Main' entry point to EntryPoint__Main. Closes HaxeFoundation/haxe#2189