Math: use rint in go_rint.

This avoids stick issues with 2^51, for example.