qemu: Fix indexes in statistics of iothreads
qemu: Fix indexes in statistics of iothreads

In commit 2ccb5335dc4 I've refactored how we fill the typed parameters
for domain statistics. The commit introduced a regression in the
formating of stats for IOthreads by using the array index to label the
entries as it's common for all other types of statistics rather than
the iothread IDs used for iothreads.

Since only the design of iothread deviates from the common approach used
in all other statistic types this was not caught.

https://bugzilla.redhat.com/show_bug.cgi?id=1778014

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

crobinso/libvirt,olafhering/libvirt,libvirt/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,crobinso/libvirt,jardasgit/libvirt,libvirt/libvirt,jfehlig/libvirt,nertpinx/libvirt,olafhering/libvirt,jfehlig/libvirt,nertpinx/libvirt,zippy2/libvirt,fabianfreyer/libvirt,crobinso/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,nertpinx/libvirt,jardasgit/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,zippy2/libvirt,olafhering/libvirt,jardasgit/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,crobinso/libvirt,zippy2/libvirt,nertpinx/libvirt,libvirt/libvirt