[PATCHv5 28/34] drm/komeda: Move to helper checking afbc buffer size