Disable ksp_view, ksp_monitor for warmup runs

If stdout has been redirected to /dev/null for the warmup runs, ksp_view and ksp_monitor are set to False. This avoids printing out the solver settings and convergence history for the PETSc solver twice.