Clean up DEBUG check in config.h.in
Add platform check for langinfo CODESET
Check for dlfcn.h is no longer needed
Add platform check for _nl_msg_cat_cntr

- libintl (in gettext > 0.10.36) exposes _nl_msg_cat_cntr