[PATCH openEuler-5.10-LTS 143/162] random: avoid initializing twice in credit race