iperf: fix iperf-xml.py

Currently it will hang in an infinite loop if input file is empty.

Signed-off-by: Tomasz Grabiec <tgrabiec@cloudius-systems.com>