[PATCH 5.10 299/390] powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue