check base image use count inside vdisk_free

To make it work with all storage types.