llvmpipe: Fix random number generation for unit tests