Complexity analysis of interior-point methods for second-order stationary points of nonlinear semidefinite optimization problems