random(4): Fix a regression in short AES mode reads
In r349154, random device reads of size < 16 bytes (AES block size) were
accidentally broken to loop forever. Correct the loop condition for small
reads.
(cherry picked from commit 22eedc9722746206bf2f8b0c5fcdab58917c7bd5)