Fix GroupSetPermissionAccessEntity ingids

Fix `GroupSetPermissionAccessEntity::getAccessEntityUsers()` ingids

- Change `foreach` to iterate throup `$groups` array as opposed to an
  undefined `$user` variable

http://www.concrete5.org/developers/bugs/5-6-2-1/cannot-save-versions-repost/