[PATCH 5.4 081/240] random: make more consistent use of integer types