As I understand it, the biggest problem would be if Spain is under full-time or on a random extra security day where there are added checks that adds time.
I'm pretty sure the earliest recommended flight out from my RCCL cruise this summer was 11am.
You could *probably* make it and be ok (assuming the airline doesn't move the flight time earlier which they CAN and DO do), but I'd have a back-up plan ready just in case...