Fix Issue 9366 - Appending a value cast to void to a void[] crashes DMD

http://d.puremagic.com/issues/show_bug.cgi?id=9366