[PATCH 5.15 204/204] perf/x86/amd: fix potential integer overflow on shift of a int