[PATCH openEuler-5.10-LTS 097/121] powerpc/perf: Fix 32bit compile