Get rid of more superfluous casts with DMD arrays.

There are still a few more left.