Prevent infinite loop in CFFParser_parseHeader

Partial fix for: https://bugzilla.mozilla.org/show_bug.cgi?id=866395.