virttest.virsh: Add blockresize() API

Add new API to support the libvirt test
virsh_blockresize

Signed-off-by: Guannan Ren <gren@redhat.com>