Added support of GCC atomic counters
Authored by: artyom-beilis 2010-02-18
Parent: [r1034]
Child: [r1036]