testsuite: Fix AtomicPrimops test on big endian
In CAS tests read and write integers that are smaller than wordsize with their actual size and not with wordsize.
In CAS tests read and write integers that are smaller than wordsize with their actual size and not with wordsize.