Fix crash in OsRng when compiling with -O.
Fix crash in OsRng when compiling with -O.

waynenilsen/rand,bluss/rand,ebfull/rand,achanda/rand,retep998/rand,bhickey/rand,huonw/rand,shepmaster/rand,arthurprs/rand,GrahamDennis/rand