(cherry picked from commit f5297ccdb277208a96aaffd72a6454afe712fdb4)
The commit adds atomic set and fetch functions as described in oshmem 1.3 spec.