Mondelez International is to close one of its two Spanish offices and have a single headquarters for its operations in the country.