McLaren is advising owners of one of its supercars to stay off the track for now due to an issue with the rear window.