(#6936) AIX user provider fails if a gid is specified instead of a name.

Fixes an undefined method error.

At the moment there are no AIX acceptance tests in FOSS Puppet, so we're looking at putting them in the PE acceptance suite.