[PATCH 4.9 032/223] perf cs-etm: Properly set the value of old and head in snapshot mode