[PATCH 4.19 114/146] perf tools: Support Python 3.8+ in Makefile