[PATCH 4.17 32/97] x86/smp: Provide topology_is_primary_thread()