freetype: fix pcf fonts by upstream patches

The problem was uncovered by the last security patches.
Firefox seems to build and work fine.

Includes reverting 374a9cc16271, as this is a proper fix.