ProgSG: Cross-Modality Representation Learning for Programs in Electronic Design Automation