[libc] avoid cmpxchg on the fastpath of callonce (#91748)

Avoid `cmpxchg` operation if the function has already been called.
The destination operand of `cmpxchg` may receive a write cycle without
regard to the result of the comparison

GitOrigin-RevId: b8f4f39d3d43d348e31fc5709b72e1f51392e52d
1 file changed