Quantum effects in muon spin spectroscopy within the stochastic self-consistent harmonic approximation