[PATCH 5.4 107/134] perf/x86/amd: fix potential integer overflow on shift of a int