Fixed slave recovery tests to only include cgroups when
running on linux.

Review: https://reviews.apache.org/r/9907

git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1456097 13f79535-47bb-0310-9956-ffa450edef68