Spain has postponed plans to restrict alcohol advertising just months before the country's elections.