qdev: Make DeviceState.id independent of QemuOpts