Many in Spain have pointed to the growing migrant population as a solution to the country's ageing population. But a new study by an influential think tank has cast doubt over this widely held belief.