fix #9124 (srand initialize libRmath RNG)

Do we use the return value from srand anywhere? If so, we probably want to return the result from `srand(GLOBAL_RNG)`.