fix 12826: make a copy of the second argument to _d_arrayappendT to avoid aliasing

https://issues.dlang.org/show_bug.cgi?id=12826

If it is possible to figure out that the second argument is not an alias to the first, the copy could be avoided.