Fixes for DMD 2.062 involving T being an array type

Regression coming from Issue 9563