fix(libprim): add fp_traits_x87_const only if HAVE_X87 is defined.