[PATCH 3/7] qemuDeviceVideoGetModel: Deduplicate a check