include config.h before system headers

Merged Alan Coopersmith requested to merge alanc/libfontenc:config.h into master

Makes sure any defines needed to expose functions like reallocarray() are present on platforms that need them (_GNU_SOURCE, _OPENBSD_SOURCE, __EXTENSIONS__, etc.)

Problem reported and fix tested by @tklausner on NetBSD.

Merge request reports