perf tools: Add read_cgroup_id() function