qemu: command: Split out geometry frontend attribute formatting from -drive
qemu: command: Split out geometry frontend attribute formatting from -drive

Historically we've formatted a lot of the attributes of a disk (disk
geometry, etc) with -drive. Since we use -device now, they should be
formatted there. Extract them to a separate function for keeping
compatibility with SDcards which still use only -drive.

Start this by moving the geometry into a separate function.

andreabolognani/libvirt,eskultety/libvirt,eskultety/libvirt,jfehlig/libvirt,eskultety/libvirt,libvirt/libvirt,jardasgit/libvirt,crobinso/libvirt,olafhering/libvirt,zippy2/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,libvirt/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,crobinso/libvirt,jardasgit/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,eskultety/libvirt,nertpinx/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,jfehlig/libvirt,olafhering/libvirt,jardasgit/libvirt,zippy2/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,olafhering/libvirt,andreabolognani/libvirt,nertpinx/libvirt,crobinso/libvirt,jfehlig/libvirt,jardasgit/libvirt,olafhering/libvirt,jardasgit/libvirt,eskultety/libvirt,zippy2/libvirt