[PATCH openEuler-5.10-LTS 144/162] random: move initialization out of reseeding hot path