[set] Handle nil set in add_range() / add_sorted_array() Fixes https://github.com/harfbuzz/harfbuzz/issues/657