drm/radeon: add a check for allocation failure (v2)