[PATCH 5.15 054/145] random: make more consistent use of integer types