MFC r289026: Enforce the maxproc limitation before allocating struct proc.
In collaboration with: pho