libcutils: only change cgroup when fd is initialized [ DO NOT MERGE ]
am: e46aae2236  -s ours

Change-Id: I6b57bd5bccae80666f3ddbeb86efc32982344d79