[PATCH 6.1 108/259] vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent()