Improved Resistance to Intergranular Corrosion in the AZ31B Magnesium Alloy by Friction Stir Welding