Pass correct size of buffer to avoid groupname truncation.

(cherry picked from commit 36b90429344732a8712976b6e7492320dd3dc458 on xrootd/master)