Nonmonotone globalization of the finite-difference Newton-GMRES method for nonlinear equations