drm/amdkfd: Add sanity checks in IRQ handlers