[PATCH 5.19 549/717] powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue