Fix for acceptGroupInvite.sqf

Variable _inviterUID was been defined inside forEach.

When it was getting checked it was always going to be undefined variable.