Thermal stress dependence of magnetic hysteretic processes in core–shell nanoparticles