[PATCH 4.14 50/95] x86/bugs: Concentrate bug reporting into a separate function