[PATCH 03/17] qemu: block: Introduce helper for deciding when a 'format' layer is needed