[PATCHv4 30/36] drm/komeda: Move to helper checking afbc buffer size