Fix thread safety issue with PosteriorWeightsCalculator

Changed the code to call the thread safe version of KfComponentsHolder::setup
which avoids uses of a static.