CVE-2025-40310 amd/amdkfd: resolve a race in amdgpu_amdkfd_device_fini_sw