[PATCH 4.14 262/293] perf annotate: Fix dereferencing freed memory found by the smatch tool