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.