[PATCH openEuler-1.0-LTS 06/35] x86/devicetable: Move x86 specific macro out of generic code