[PATCH 5.4 187/255] powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue