Fix type punning in calls to atomic operation functions.

Bug: 21326736
(cherry picked from commit 19c98d82cb92516f9ec811fe413dbdf3f32f3caf)

Change-Id: I6ad3b73e8b977d231d5a51c824d6410e0804231c
2 files changed