Discrepancy for randomized Riemann sums