[PATCH 4.9 152/171] x86/mce: Fix possibly incorrect severity calculation on AMD