Strip the GID string in the AIX host backend

on AIX, the GID string will have a newline. It doesn't on other
platforms. This change makes the AIX output match the rest of our
platforms.
Merge pull request #415 from branan/strip_gid_on_aix

Strip the GID string in the AIX host backend