Fix an unlikely UAF on the deprecated _set_glyph_func API

Fixes https://github.com/harfbuzz/harfbuzz/issues/2168
1 file changed