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

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
Merge pull request #9715 from brahmaroutu/gccgo_power1

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