Implement core.checkedint in terms of LLVM intrinsics.
Merge pull request #772 from redstar/checkedint

Implement core.checkedint in terms of LLVM intrinsics.