Manage_Gids: fixes a race condition in uid2grp_release_group_data.
We should not free the gdata outside a critical section for double free could then occur.