fmt: hycost() for calculating hyphenation penalty

Strangely the hycost[] array was about 15% slower in neatcc.