[PATCH 4.19 084/239] x86/mce/inject: Avoid out-of-bounds write when setting flags