Fix bug 10211: CTFE: Allow cast S**->D**, if S*->D* is OK

Another fix required by my project to unify CTFE and optimize(WANTinterpret).

Up to now this has been accepted in const-folding but not in CTFE.