[PATCH 5.10 182/452] perf tools: Use Python devtools for version autodetection rather than runtime