perf evlist: Fix fix for freed id arrays