Fix signature of lgamma_r.