Reorganize code to use only 32bit atomic ops for 32bit platforms.
32bit PowerPC for example lacks 64bit CAS.
Add static_assert. Fix bug in the LP64 case.
Revert the LP64 part of the last commit, thinking error.
Merge pull request #22 from jsonn/master

Reorganize code to use only 32bit atomic ops for 32bit platforms.