[libc] Remove hardcoded sizeof in __barrier_type.h (#153718)

This PR modifies the static_asserts checking the expected sizes in
__barrier_type.h, so that we can guarantee that our internal
implementation fits the public header.

GitOrigin-RevId: 2b1dcf53832752a6855243d9579e18439aa2846a
1 file changed