Avoid overflow problem in math.is_non_decreasing
I fix the bug in another PR #62112 Closing the PR as it is fixed in another PR mentioned [here](https://github.com/tensorflow/tensorflow/pull/62090#issuecomment-1762710097).
The API `tf.math.is_non_decreasing` returns `True` with `unsigned` input dtypes even though the input have decreasing values. This is because of the overflow that happens at this line of code.

https://github.com/tensorflow/tensorflow/blob/4dacf3f368eb7965e9b5c3bbdd5193986081c3b2/tensorflow/python/ops/check_ops.py#L1947

Hence proposing to cast the input to signed dtype in case if it is unsigned.This will potentially avoid overflow error.

Fixes #62072.