[Pnelin] fix bug when alloc3DMat always write the first address to ret[0]