common: fix random number generation on Linux
common: fix random number generation on Linux

Use /dev/random instead of erroring out.

Signed-off-by: Holly Sipek <704816bcbcfa55891fea18ff107a2bdd77680330@gmail.com>

jeffpc/nx01