[PATCH openEuler-5.10 14/71] perf arm-spe: Fix packet length handling