MFC r337374: Implement atomic_long_cmpxchg() function in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0@gmail.com> Sponsored by: Mellanox Technologies