Fix type punning in calls to atomic operation functions.

Bug: 21326736
(cherry picked from commit c451831264885b84f54a05e0894ad88bb30bd5df)

Change-Id: I3da7eadf1b76f2f94c7aad028e22149a504b68da
2 files changed