Batch calls to getTextWidths from HarfBuzz

As we found SkPaint::getTextWidths has rather high entry cost,
HarfBuzz has added a function to batch the call in [1].

This patch supports the batch function in HarfBuzzFace.

blink_perf.layout (Legacy): 3-25% improvements in 10 tests.
https://pinpoint-dot-chromeperf.appspot.com/job/137a7165640000

blink_perf.layout (LayoutNG): 3-40% improvements in 20 tests.
https://pinpoint-dot-chromeperf.appspot.com/job/111903c5640000

[1] https://github.com/harfbuzz/harfbuzz/commit/79e21984b13bdb879f3007ba9a97fde47df340d3

Bug: 636993
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: I04f839526cd35876996b679971d49a99e47ae46c
Reviewed-on: https://chromium-review.googlesource.com/1158671
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586264}
3 files changed