Protecting arrangements against rupture or overwinding of the mainspring located in the barrel or attached to the barrel