fix #8798, wrong sizeof(::DataType) in codegen