Tenerife er klar til playoff-finalen om en plads i La Liga, efter at Enric Gallego førte dem til 2-1-sejr over Las Palmas.