Add const in preparation for a simplify_type change in llvm.