[dev.power64] cmd/9g: fix floating-point comparison for NaN
[dev.power64] cmd/9g: fix floating-point comparison for NaN

LGTM=minux
R=minux
CC=golang-codereviews
https://codereview.appspot.com/127300043

webfd/go-zh,bryanxu/go-zh,d0f/go-zh,bryanxu/go-zh,d0f/go-zh,bryanxu/go-zh,bryanxu/go-zh,webfd/go-zh,d0f/go-zh,webfd/go-zh,d0f/go-zh,bryanxu/go-zh,webfd/go-zh,webfd/go-zh,bryanxu/go-zh,d0f/go-zh,bryanxu/go-zh,webfd/go-zh,webfd/go-zh,d0f/go-zh,bryanxu/go-zh,d0f/go-zh,webfd/go-zh,d0f/go-zh