Create group if gid is specified