libvirt: Detect if a disk has the <readonly/> flag.