First-principles study of the generalized stacking fault energy in Mg–3Al–3Sn alloy