[PATCH 4.14 053/166] tools/power/x86/intel_pstate_tracer: changes for python 3 compatibility