[PATCH 3.16 002/131] x86/bugs: Concentrate bug detection into a separate function