[PATCH] ARC: avoid unwanted gcc optimizations in atomic operations