Fix for long-standing bug in RandomInt32().