Disable macros that trigger UBSAN in other modules

This change disables macros that trigger UBSAN. These
functions intentionally have unsigned integer underflow (not
UB, but typically unintentional) so we disable the
`unsigned-integer-overflow` UBSAN checks for the musl
sources. This doesn't work with these macros since they
inline the function definitions in other modules. To avoid
disabling these checks for all modules we disable these
macros. This matches the behavior of calling these functions
in C++ (the cctype header redeclares the functions without
including ctype.h) and LK's libc.

Bug: None
Change-Id: Ic1a06bf206075700d40f897f9c787c2bdbf45634
1 file changed