Fix code generation for dynamic arrays assignment.