[PATCH 5.10 167/186] VMCI: Fix use-after-free when removing resource in vmci_resource_remove()