Revert "Add getgroups()/setgroups() to libcore.Os"

These (@hide) methods are unused, and the team who initially requested
them no longer need them. Also, the tests for setgroups recently
started failing (b/77599196).

This reverts commit 44177e6982a62506127a857070a2452956c3f0f1.

Bug: 77599196
Test: Treehugger

(cherry picked from commit 1925ee9be8abc4898626a14e54dde70015e0ed53)

Change-Id: Ia22ae6ab91503b221dd9fc8232c6fe651b25689e
Merged-In: Ia22ae6ab91503b221dd9fc8232c6fe651b25689e
5 files changed