10252 CTFE: Generate error for shr/ushr/shl out of range

Part of the unification of optimize(WANTinterpret) and CTFE.

Use same behaviour as for const-folding.