Wheel stud problem. Im a dumbass!!

I cant imagine welding out on the perimiter of the flange would have any effect on the axle. I dont know another way to fix it other than welding either.
There were studs with oversize splines available for that application years ago. Finding them now might not be easy. Good luck