Eliminate some UB in the C fixed-point implementations.