std.Progress: fix many bugs

There were several bugs with the synchronization here; most notably an
ABA problem which was causing #21663. I fixed that and some other
issues, and took the opportunity to get rid of the `.seq_cst` orderings
from this file. I'm at least relatively sure my new orderings are correct.

Co-authored-by: achan1989 <achan1989@gmail.com>
Resolves: #21663
87983e800amlugg committed on 5/4/2025, 12:51:07 AM· committed by Alex Rønne Petersenparent142a890
1 file changedLine totals unavailable