[visualization] bugfix drawgantt-svg

Fix the display of the hierarchy of the resources (allow cores/cpusets
to be numbered correctly accordingly to the topology)
Merge branch '2.5'