[Cocoa] Adopt -[AVSampleBufferDisplayLayer setPreventsDisplaySleepDuringVideoPlayback:] as API
<rdar://problem/112165356>
Pull request: https://github.com/WebKit/WebKit/pull/16845
Committed 267056@main (fab721e7e9eb): <https://commits.webkit.org/267056@main> Reviewed commits have been landed. Closing PR #16845 and removing active labels.