An international career-high 40 points from Pau Gasol fired Spain into the EuroBasket 2015 final at the expense of 2013 winners France.