inc_cas.cpp: new inc test using CAS to increment.  Tests if failed CAS instructions are traced as writes.