harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9; replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx; adapted for changes to HB function signatures.