random(4): Remove unused definitions
(cherry picked from commit 92ebf15da5c4cc3734bf0e35026f504f096524ca)