Add an APInt version of ShrinkDemandedConstant.