[PATCH 4.17 34/70] x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read()