Calorimetric studies of magnetic hysteresis in CuMn alloys