chore, also call setgroups() before setgid() as per POS36-C

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>
Merge branch 'code/hygiene'

* code/hygiene:
  chore, also call setgroups() before setgid() as per POS36-C