Cooling schedule effects on the microsegregation in AlMgSi alloys