compat/fnmatch: respect NO_FNMATCH* even on glibc