High-resolution isotope shift measurement of the MgI 1S0 - 3P1 intercombination transition