s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checks