DynamicGridLayout: Do not call super.onMeasure twice

Implement our own logic to calculate width

Signed-off-by: Peter Cai <xqsx43cxy@126.com>