Fixed wrong memory order

The OS X gcc4.8 compiler did not catch the fact that I passed the wrong memory order to at store method. Fortunately, the linux version did.