std.Thread: fix mutable ref of temporary

The previous code is a compile error in stage2 as well as the
upcoming lang spec.
afe6e69e4cAndrew Kelley committed on 7/4/2022, 11:53:41 PMparent9ecc47c
1 file changedLine totals unavailable