[PATCH openEuler-22.03-LTS-SP1 286/371] powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue