Fixing rng_t thread local issue for #5729
Fixing rng_t thread local issue for #5729

OTS by @danielmewes

mbroadst/rethinkdb,catroot/rethinkdb,bchavez/rethinkdb,mbroadst/rethinkdb,grandquista/rethinkdb,bchavez/rethinkdb,catroot/rethinkdb,bchavez/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,bpradipt/rethinkdb,bpradipt/rethinkdb,bchavez/rethinkdb,grandquista/rethinkdb,jmptrader/rethinkdb,bpradipt/rethinkdb,mbroadst/rethinkdb,bpradipt/rethinkdb,bchavez/rethinkdb,grandquista/rethinkdb,bchavez/rethinkdb,robertjpayne/rethinkdb,JackieXie168/rethinkdb,catroot/rethinkdb,grandquista/rethinkdb,jmptrader/rethinkdb,JackieXie168/rethinkdb,bchavez/rethinkdb,robertjpayne/rethinkdb,bchavez/rethinkdb,JackieXie168/rethinkdb,mbroadst/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,JackieXie168/rethinkdb,bchavez/rethinkdb,jmptrader/rethinkdb,catroot/rethinkdb,jmptrader/rethinkdb,robertjpayne/rethinkdb,catroot/rethinkdb,catroot/rethinkdb,grandquista/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,grandquista/rethinkdb,robertjpayne/rethinkdb,bpradipt/rethinkdb,bpradipt/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,bpradipt/rethinkdb,mbroadst/rethinkdb,catroot/rethinkdb,jmptrader/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,mbroadst/rethinkdb,bpradipt/rethinkdb,JackieXie168/rethinkdb,robertjpayne/rethinkdb,grandquista/rethinkdb,mbroadst/rethinkdb,jmptrader/rethinkdb,robertjpayne/rethinkdb,robertjpayne/rethinkdb,bpradipt/rethinkdb,grandquista/rethinkdb,catroot/rethinkdb,grandquista/rethinkdb