Constraints on the neutrino emission from the Galactic Ridge with the ANTARES telescope