virttest.utils_test: make ping support ipv6

This patch make ping support ipv6

Signed-off-by: Yunping Zheng <yunzheng@redhat.com>
Merge pull request #1442 from humanux/ping_ipv6

virttest.utils_test: make ping support ipv6