Beta-binomial second-order derivative with respect to its pi parameter (twice); for internal use by C++

GradPiPi_cppi(M, N, PI, THETA, MemLim, Xtra)