Faster implementation of the `unicode_script/2` predicate (moved from the `unicode_scripts.pl` file to the new `unicode_range_scripts.pl` file)