Stop buffer overrun if {NGROUPS_MAX} is greater than the compile time NGROUPS_MAX. (approved by christos)