Fix for removal of volatile in Haiku's atomic_add.

Patch by Jérôme Duval
Fix endianness of requests again.

Patch by Akshay Jaggi.