[Fontations] Avoid redundant path retrieval

In a hinting situation, store the retrieved path in glyph metrics at the
time the adjusted, hinted advance is retrieved.

This utilises [1] to store the retrieved path into glyph metrics.
SkScalerContext then makes use of it internalGetPath() when its
available.

[1] https://skia-review.googlesource.com/c/skia/+/989996

Fixed: skia:416195723
Cq-Include-Trybots: luci.skia.skia.primary:Build-Mac-Clang-x86_64-Debug-Fontations,Build-Ubuntu24.04-Clang-x86_64-Debug-Fontations,Test-Mac14-Clang-MacMini8.1-CPU-AVX2-x86_64-Debug-All-NativeFonts_Fontations,Test-Mac15-Clang-MacBookPro15.1-CPU-AppleIntel-x86_64-Debug-All-NativeFonts_Fontations,Test-Ubuntu24.04-Clang-GCE-CPU-AVX2-x86_64-Debug-All-NativeFonts_Fontations
Change-Id: Ib5a1285f55aa9bdd1e7c9d64073603ec983058cf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/990876
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
4 files changed