Add support for solaris atomicops

This patch adds support for atomic operations on Solaris, on any platform.
It makes use of the atomic functions made available in Solaris' atomic.h
header.
Can you update this copyright notice and remove lines that have "Protocol Buffers", "Google"?