random: fix error in entropy extraction (CVE-2007-2453 1 of 2)