[processing] avoid division by zero in random points alg (fix #11215)