Change pointer type of atomic intrinsics parameters to raw (#6314)
Update test cases for atomic intrinsics (#6314)