[PATCH 6.7 495/713] perf print-events: make is_event_supported() more robust