Two-loop partition function in the planar plane-wave matrix model