dyngroup: Fix group edition

When a group is created, if you click on group edition link,
$_GET['id'] variable is not set and group can't be edited (group is
empty).

So, get the gid value as id.