Update BaseRandomLayer to eagerly init the random generator.
Update BaseRandomLayer to eagerly init the random generator.

This will avoid any variable creation when first use the generator in a tf.cond, eg for dropout, etc, which will resolve into error like b/206821407.

PiperOrigin-RevId: 428139848

keras-team/keras,keras-team/keras