[PATCH v2] qemu_block: Refactor qemuBlockExportAddNBD()