Effect of Substrate Interaction on Thermodynamics of Prefreezing