math/reduce: fix build on powerpc64*
On architectures where long double is 64-bit, ffi_type_longdouble is not available.