[PATCH 5.15 185/214] VMCI: Fix use-after-free when removing resource in vmci_resource_remove()