Update check-config.sh with more kernel configs and more reliable cgroup hierarchy/subsystem check