[PATCH 6.10 304/375] VMCI: Fix use-after-free when removing resource in vmci_resource_remove()