Reuse the existing contextual lookup algorithms while selecting the
extended rule, class, coverage, and lookup-record structures for fonts
with extended glyph IDs.
The beyond-64k specification has no extended chained coverage format,
so exclude that candidate for extended chained-context lookups.
Select ReverseChainSingleSubst format 2 when the font has extended
glyph IDs. The existing coverage and substitution construction works
unchanged with the extended schema.