glibc: fix a math problem by upstream patch