drm/amdkfd: Check debug trap enable before write dbg_ev_file (CVE-2024-46803) | HOL Guard CVE