Fixed a bug in slave to only checkpoint framework pid if a framework
enabled checkpointing.

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

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