[PATCH v2 05/12] drm/gma500: Move GTT setup and restoration into helper funtions