drivers/gpu/drm/ast: Fix infinite loop if read fails