Remove CastExp::disableOptimization.
Merge pull request #395 from klickverbot/remove-disableoptimization

Remove CastExp::disableOptimization.