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
ae1b444d6amlugg committed on 5/3/2025, 7:09:51 PMparentbf9b15e
1 file changedLine totals unavailable