trace.cpp: -c option to trace compare and swaps when they fail (default 0)