drm/amdgpu: Add NULL ptr check for non userq fences
We are observing a NULL value in the non userq fences, thus added a NULL pointer check just to avoid the NULL pointer dereference crash.
Signed-off-by: Arunpravin Paneer Selvam Arunpravin.PaneerSelvam@amd.com