kalua: math: random_integer() cleanup and found a bug: never outputs ints >0xffff