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