[PATCH 4.19 054/271] perf cs-etm: Properly set the value of old and head in snapshot mode