Support multiprecision tgamma() and lgamma() for types without a specialization of numeric_limits.