AC4: Algebraic Computation Checker for Circuit Constraints in ZKPs