Fix expm1 spurious underflow exceptions (bug 6778).