src: ensure that openssl's PRNG is fully seeded

Fixes #7338.

R=@indutny