Atomic stores terminate release sequences on the atomic variable, and must use ReleaseStore primitive instead of Release. This was broken in r192355 during a refactoring. Restore correct behavior and add a test. llvm-svn: 286211