cgroups: Unify v1 and v2 tests
We duplicate every test for the v1 and v2 cgroup handlers. This MR deduplicates them into a single unified handler_linux_test.go
file.
A subsequent MR will introduce a generic handler that covers v1 and v2, which will add the corresponding handler_linux.go
file.
Edited by Will Chandler (ex-GitLab)