random: Fix selection of entropy gathering function.