CTFE: Remember when constfolding has been done

When an array literal or struct literal originated in CTFE, interpreting
it again will have no effect. This gives a small speedup.