[PATCH 4.14 09/55] drm: gma500: fix logic error