Effect of stochastic ripple diffusion on the detection of fusion product ions by pellet charge exchange diagnostics