Fix Atomic MACROs

It is necessary to not consider 64bit architecture as X86.
Merge pull request #3194 from gustavotemple/fix-vm-atomic-macros

Fix Atomic MACROs