usp10: Decode surrogate pairs in get_char_script and handle ranges beyond the BMP.