8049516: sun.security.provider.SeedGenerator throws ArrayIndexOutOfBoundsException
Summary: Prevent the latch inside ThreadedSeedGenerator.run() from overflowing into a negative value causing a negative index array lookup.
Reviewed-by: xuelei, weijun