[Libguestfs] [PATCH v3 01/11] resize: move loop check from find_partitions