[PATCH 5.2 079/413] perf cs-etm: Properly set the value of old and head in snapshot mode