[PATCH 6.1 037/100] drm/amdgpu: Add NULL checks for function pointers