[PATCH 5.15 298/846] x86/mce/inject: Avoid out-of-bounds write when setting flags