create-image: don't delete image before free loopdevices

Don't delete the image until the kpartx freed the loopdevices unless we
let some loop device used.