Fix to avoid a compile error due to float to int truncation with GCCGO

As part of Power and Z system port, compiling docker with latest gccgo compiler.