[PATCH 4.19 006/149] perf script: Fix crash when processing recorded stat data