solvers: Fix chainjnttojacsolver to use solver interface

Ensure ChainJntToJacSolver supports the SolverI interface.