tottf: accept exactly 65535 glyphs as in the sfnt specification

Closes #1581.

r? @frank-trampe
Indeed. We probably want that in an else if (with a more menacing error for at->gi.cnt > 65535).