Study of the validity of the Niyama criteria function applied to the alloy AlSi7Mg