std: Make atfork handler more robust

The atfork handler is executed even when fork()-ing threads that have
never initialized their local csprng. Handle this case gracefully
instead of raising a runtime error.

Fixes #8841
ec9a44b2a5LemonBoy committed on 5/20/2021, 1:28:59 PMparentabfe7f9
1 file changedLine totals unavailable