A nonmonotone line search for the LBFGS method in parabolic optimal control problems