[PATCH] drm/gma500: Fix potential NULL pointer dereference