virttest.utils_test: make ping support ipv6

This patch make ping support ipv6

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>