[PATCH 6.0 672/862] powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue