Encouraging Intra-Class Diversity Through a Reverse Contrastive Loss for Single-Source Domain Generalization