Change depthCor* static members to static std::atomic --thread safety

These parameters are set once in the PFCluster constructor from parameter set
or set once to default values in PFCluster.cc. After that they are only read.
Put ifdefs around std::atomic definitions so that reflex can work.