compat/fnmatch: update old-style definition to ANSI