Fix overflowing literal in LCM test.

The lcm of 17 and 99 is 1683, which is larger the maximum value for u8.

I changed the test so that the lcm fits into any kind of unsigned integer.