[PATCH v5 13/16] selftests/resctrl: Convert ctrlgrp & mongrp to pointers