Initialize random seed during CUDA initialization.

Initialize the random seed for all GPUs during CUDA initialization rather than
when the device is set.
Merge pull request #45 from dominikgrewe/random_seed

Initialize random seed during CUDA initialization.