LinuxKPI: implement get_random_u32_inclusive()
Implementation of get_random_u32_inclusive().
This is needed by an update for wireless drivers.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 1dcd1a539275fe69173bfc4dfc32c963fc7dcdbe)