Rewrite the overflow checking in the get{Signed,Unsigned}Range code for