Semantic-aware Contrastive Learning for Electroencephalography-to-Text Generation with Curriculum Learning