[ft/coretext] Fail setting font-funcs gracefully Fixes https://github.com/harfbuzz/harfbuzz/issues/5020