Use __has_builtin for builtin checks instead of compiler versions https://github.com/harfbuzz/harfbuzz/issues/4066#issuecomment-1439510188