Rejects invalid fpgm table when too many functions

Fixes bug 950316 and 978276

Microsoft Font Validator fails with messages for those documents:

```
E6016 FDEF out of range Size 4, FDEF, Pre-Program, At ByteOffset 374,  
A6000 An exception occurred during rasterization testing Secure Rasterizer error: Function out of range 
```