[metrics] Implement synthetic slant for caret slope Part of https://github.com/harfbuzz/harfbuzz/pull/3338