PETScSNESSolver updates for change in PETSc interface.