Add atomic ops for Solaris

Based on fontconfig patch from Raimund Steger.
3 files changed