[PATCH 5.4 423/434] x86/mce: Fix possibly incorrect severity calculation on AMD