The Development of Stress Based Continuum Damage Mechanics Model for Predicting the Formability of Magnesium Alloys under Cold/Warm Stamping Processes