Spatter and Porosity in Gas-Metal Arc Welding of Magnesium Alloys : Mechanisms and Elimination