[PATCH AUTOSEL 6.6 40/47] drm/amdgpu: Add NULL checks for function pointers