Detach allocation and capacity from vol-size in pre_vol func

Signed-off-by: Kyla Zhang <weizhan@redhat.com>
used in https://github.com/autotest/tp-libvirt/pull/48