[PATCH 5.15 049/134] perf scripts intel-pt-events.py: Fix IPC output for Python 2