ck_pr/arm: Implement support for Thumb 2 and fix incorrect CAS behavior.

Besides implementing Thumb 2 supports, this fixes incorrect usage of
"cmp" where "cmpeq" was meant.

Patch submitted by Olivier Houchard <cognet@freebsd>.
Merge branch 'master' of git.concurrencykit.org:ck