Fix bug 10275 CTFE: allow const casts of struct literals

This was permitted in const-folding, but not in CTFE until now.
Merge pull request #2137 from donc/ctfe10275caststructlit

10275 CTFE: allow const casts of struct literals