virttest: Add get_correspond_ip() to virttest.utils_net.py

This function may used by other scripts.

Signed-off-by: Feng Yang <fyang@redhat.com>

Separate this pullreq from
https://github.com/autotest/virt-test/pull/1219