Fix Firefox crash in sqlite3_randomness

https://www.illumos.org/issues/4254