[PATCH 11/17] drm/mgag200: Set primary plane's format in separate helper function