[PATCH] drm/ast: Fix potential NULL-pointer read during atomic mode setting