[PATCH V2 6/6] perf tools: Properly set the value of 'old' and 'head' in snapshot mode