[PATCH v2 08/15] drm/mgag200: Set primary plane's format in separate helper function