[PATCH 5.7 018/112] drm/amdgpu: fix non-pointer dereference for non-RAS supported