A Primal-Dual Interior-Point Algorithm for Nonlinear ACOPF with Adaptively Reformulated Volt-Var Constraints