patch 8.0.0445: getpgid is not supported on all systems

Problem:    Getpgid is not supported on all systems.
Solution:   Add a configure check.
diff --git a/src/auto/configure b/src/auto/configure
index 34770f8..73b9ce7 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -12022,7 +12022,7 @@
 for ac_func in fchdir fchown fsync getcwd getpseudotty \
 	getpwent getpwnam getpwuid getrlimit gettimeofday getwd lstat \
 	memset mkdtemp nanosleep opendir putenv qsort readlink select setenv \
-	setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
+	getpgid setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
 	sigprocmask sigvec strcasecmp strerror strftime stricmp strncasecmp \
 	strnicmp strpbrk strtol tgetent towlower towupper iswupper \
 	usleep utime utimes