[PATCH 03/30] drm/gma500: Make use of gma_pipe_has_type()