Make sure we reset io object prev/next_cousin p...
Make sure we reset io object prev/next_cousin p...

Make sure we reset io object prev/next_cousin pointers before connecting them

Otherwise we get buggy io object lists when filtering some io devices
out of an XML import.

This commit was SVN r4913.

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