Gran Canaria's airport has reopened after flash flooding meant planes were unable to take off and land.