drm/radeon: prevent crash in the ring space allocation