[PATCH openEuler-1.0-LTS 08/16] x86/speculation: Add a common function for MD_CLEAR mitigation update