Issue 12851 - ICE when passing const static array to template

https://issues.dlang.org/show_bug.cgi?id=12851