[PATCH 6.6 443/638] perf print-events: make is_event_supported() more robust