tests/periph_random: fix warnings, conventions