[PATCH 5.15 408/530] powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue