hw/arm/virt: separate versioned type-init code