v.25.10Bug Fix (user-visible misbehavior in an official stable release)

Makes the same behaviour of toDate and

Makes the same behaviour of toDate and toDate32 for all numeric types. Fixes Date32 underflow check during cast from int16. #87176 (Pervakov Grigorii).