math: fix fma bug on x86 (found by Bruno Haible with gnulib)