On the Use of Iterative Schwarz Methods in the Solution of an Optimal Control Problem