Issue 12937 - ICE with void static array initializing

https://issues.dlang.org/show_bug.cgi?id=12937
Prevent recursive optimization.