Director William Friedkin and actress Gina Gershon opened the red carpet at Edinburgh’s Festival