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