Spin states of iron impurities in magnesium oxide under pressure: a possible intermediate state