Orientation-dependent stabilization of MgCr2O4 spinel thin films