FOP-2191: cache matched lookups, assembled lookup spec uses; reduce glyph processing state allocation