Rework the cpuset printing macro to remove usel...
Rework the cpuset printing macro to remove usel...

Rework the cpuset printing macro to remove useless zeros:
* keep all zeros in non-empty subsets
* keep a single zero if the last subset is empty
  (so that we don't end the string with a ',')
* just print a ',' for intermediate subsets
* drop starting subsets entirely if empty

This commit was SVN r213.

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