[PATCH 6.8 464/715] perf print-events: make is_event_supported() more robust