Update CMakeLists.txt

Preparation for release.
Read the treeStatus buffer back to the host, if usesConsistentMemory is true

Otherwise, the simulation will not run since treeStatus->maxDepth will still be set to 0