std.Thread: fix some issues in x86_64/x32 inline asm

Wrong syscall on x32; return exit code 0 instead of 1 on both.

ref https://github.com/ziglang/zig/issues/22189
adcfdce6beAlex Rønne Petersen committed on 10/18/2025, 9:36:26 AMparente59f299
1 file changedLine totals unavailable