x86: Fix code generation for unused result of math.random().
PPC: Fix red zone overflow in machine code generation.