Refactor NotifyOnOOM a little

Now there is function NotifyOnOOM in cgroups package, which waits memory
cgroup path as argument

Signed-off-by: Alexander Morozov <lk4d4@docker.com>