HOLLYWOOD--Samuel Goldwyn, the movie producer, was recovering today from the shock of a Scottish collegiate prank which carried farther than its authors anticipated. Goldwyn was advised today that he had been nominated for the position of Lord Rector of Glasgow University. Careful checkups with London officials seemed to substantiate the notification. Then cable dispatches from Glasgow disclosed the Goldwyn nomination was part of the annual student fun-making which accompanies nomination of a rector. They also had nominated Haile Solassic.