[PATCH openEuler-5.10-LTS 128/166] perf tools: Fix perf's libperf_print callback