Mechanical stress in high-temperature superconducting ring-shaped bulk during the pulsed-field magnetization