perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode