Destabilization of magnesium hydride through interface engineering