[PATCH 12/13] lxcContainerSetReadOnly: Refactor cleanup handling