[PATCH openEuler-1.0-LTS 7/8] x86: Move gds_ucode_mitigated() declaration to header