Fix Issue 6408 - Phobos fixes

Do not use typeof(Type[0]) to get the element type of an array, use typeof(Type.init[0])

Required for [this pull](https://github.com/D-Programming-Language/dmd/pull/1495) for [this bug](http://d.puremagic.com/issues/show_bug.cgi?id=6408)