olsr_random: introduce better random functions