Kinetic arrest of martensitic transformation in the NiCoMnIn metamagnetic shape memory alloy