[PATCH 5.15 278/667] perf tools: Use Python devtools for version autodetection rather than runtime