atomics: add some checks for solaris built in atomics support.
atomics: add some checks for solaris built in atomics support.

ajdavis/libbson,remicollet/libbson,Convey-Compliance/libbson,bjori/libbson,rcsanchez97/libbson,remicollet/libbson,jqk6/libbson,alexeyvo/libbson,4Second2None/libbson_tmp,rayyang2000/libbson,derickr/libbson,4Second2None/libbson_tmp,ajdavis/libbson,mapr/libbson,Machyne/libbson,alexeyvo/libbson,bjori/libbson,mapr/libbson,4Second2None/libbson_tmp,Machyne/libbson,mongodb/libbson,Machyne/libbson,derickr/libbson,rcsanchez97/libbson,rayyang2000/libbson,mongodbinc-interns/libbson,paulmelnikow/libbson,paulmelnikow/libbson,ksuarz/libbson,remicollet/libbson,remicollet/libbson,ksuarz/libbson,paulmelnikow/libbson,jqk6/libbson,ksuarz/libbson,jqk6/libbson,paulmelnikow/libbson,rcsanchez97/libbson,Convey-Compliance/libbson,ajdavis/libbson,mongodbinc-interns/libbson,paulmelnikow/libbson,jqk6/libbson,Convey-Compliance/libbson,Machyne/libbson,mapr/libbson,mongodb/libbson,derickr/libbson,bjori/libbson,mongodbinc-interns/libbson,mongodb/libbson,4Second2None/libbson_tmp,mongodbinc-interns/libbson,rayyang2000/libbson,alexeyvo/libbson,rayyang2000/libbson,derickr/libbson