ALMA detections of circumstellar disks in the giant H II region M17: probing the intermediate- to high-mass pre-main-sequence population