[openEuler-5.10 364/496] vfio: Split creation of a vfio_device into init and register ops