Fix integer conversion as constant initializer.  Was QNAN error.

This was converting an int specified constant to a float, which would generate bad numbers and QNAN.

This converts them directly to int, and writes them as int fo fix the problem.

Tested in Mordor, fixed the QNAN errors there.