[PATCH 6.1 147/192] VMCI: Fix use-after-free when removing resource in vmci_resource_remove()