Update the atomics test for the new atomics API.

Change-Id: I2b675b4a8e4634304a7ef9b938657fccd740bd79
diff --git a/vm/test/AtomicTest.c b/vm/test/AtomicTest.c
index 623717c..62333d0 100644
--- a/vm/test/AtomicTest.c
+++ b/vm/test/AtomicTest.c
@@ -345,8 +345,8 @@
     swapTest = 0x11111111;
     android_atomic_and(0xfffdaf96, &andTest);
     android_atomic_or(0xdeaaeb00, &orTest);
-    int oldSwap = android_atomic_release_swap(0x22222222, &swapTest);
-    int oldSwap2 = android_atomic_release_swap(0x33333333, &swapTest);
+    int oldSwap = android_atomic_swap(0x22222222, &swapTest);
+    int oldSwap2 = android_atomic_swap(0x33333333, &swapTest);
     if (android_atomic_release_cas(failingCasTest+1, failingCasTest-1,
             &failingCasTest) == 0)
         dvmFprintf(stdout, "failing test did not fail!\n");