x86: make the x86 detection configurable with flags (internally)

Use flags to enable full discovery, caches only, or annotating cpuinfo only.
Enable them depending on whether caches or other objects being already present.
x86: export hwloc_x86_cpuid_discovery() to plugins

Make it accept a cpuid callback+data for Xen.
hwloc/plugins.h: protect cpuid functions with HWLOC_HAVE_X86_CPUID

But keep them enabled in the doc even when cpuid isn't available.

And make sure external plugins get HWLOC_HAVE_X86_CPUID from the public
autogen/config.h
plugins: export hwloc_alloc_root_sets()

Renamed from the old hwloc_alloc_obj_cpusets(),
now officially specialized for root objects only,
and now exported to plugins (Xen will need it).
plugins: cleanup hwloc_setup_pu_level() and export it to plugins

Xen will need it.