A surfer who was plucked from the sea after more than 30 hours adrift is recovering in a Northern Ireland hospital.