drm/radeon: Fix error handling in radeon_flip_work_func.