Fix win64_msvc compiling issue

Cherrypick upstream PR
https://github.com/unicode-org/icu/pull/2255

to fix v8 win64_msvc and other builds about bugs related to
'<=': unsafe use of type 'bool' in operation
and
'==': unsafe mix of type 'UBool' and type 'bool' in operation
up stream bug https://unicode-org.atlassian.net/browse/ICU-22206

Bug: 1371208
Change-Id: I6c9e9cca58c20cb667a2f2de57ce844bfdc2bd1a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/4037029
Reviewed-by: Jungshik Shin <jshin@chromium.org>
18 files changed