crt: Move `__mingw_isleadbyte_cp()` from libmingwex into libmsvcrt

In libmsvcrt-os, `__mingw_mbrtowc_cp()` and `__mingw_wcrtomb_cp()` depend on
this function, so it has to be there, otherwise it would cause linker errors.
For UCRT we do the same for consistency reasons.

This closes https://github.com/mingw-w64/mingw-w64/issues/163.

Signed-off-by: LIU Hao <lh_mouse@126.com>
1 file changed