Implement {get,set}groups for Linux

Open Mateusz Mikuła requested to merge mati865/relibc:groups into master

Getgroups output will change depending on the environment and setgroups requires root so they are hard to test.

Merge request reports