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

Use same behaviour as for const-folding.
Merge pull request #2127 from donc/ctfe_shiftrange

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