[PATCH openEuler-5.10-LTS 051/162] random: access primary_pool directly rather than through pointer