Eddy current heating in magnetic refrigerators