Fixes #10 - Expand atomic_basic (non-atomic) functionality

Also, use x86_64 implementation if __x86_64__ or __amd64__ are defined

Corrected syntax errors in atomic_x86_64.h