fs-mistrust: add getegid() to getgrouplist() output.
This fixes a unit test failure in weird environments (like some containers) where the current effective GID is not included in the list of current groups.
Closes #487 (closed).
Bug reported by @sjm217.