[PATCH 5.11 352/601] vfio/pci: Move VGA and VF initialization to functions