synthetic: Rework and cleanup the loop that che...
synthetic: Rework and cleanup the loop that che...

synthetic: Rework and cleanup the loop that checks/initializes level types

Start from the bottom, using PU if not set already
Choose each level type depending on the type below
Use Groups above NUMA nodes as long as we don't get a machine level
Use Misc above Machine.

Then check that we didn't get multiple machine/node/PU levels.

This commit was SVN r1925.

shekkbuilder/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,ggouaillardet/hwloc,ggouaillardet/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc