[PATCH 5.10 036/593] arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode