[polygamma] Add two special cases for x = 1 and x = 0.5.