[libvirt] [PATCH v3 4/7] qemu: domain: Add helper for translating disk cachemode to qemu flags