Randomized Distributed Function Computation with Semantic Communications: Applications to Privacy