sometimes /proc/1/cgroup is not readable

Prevent the code from throwing fatal exceptions when /proc/1/cgroup
exists but is not readable (which can happen in VPS systems).
Merge pull request #11629 from herzi/develop

sometimes /proc/1/cgroup is not readable