Effect of an Mg-rich matrix on the corrosion behavior of As-cast magnesium-aluminum alloys