fix check-config.sh to check for CGROUP_PERF

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #7632 from erikh/fix_check_config

fix check-config.sh to check for CGROUP_PERF