Backport "darwin: Ensure errors on unguarded use of new APIs, require macOS 10.13" into 1.22

Merged Nirbheek Chauhan requested to merge nirbheek/cerbero:unguarded-usage-backport into 1.22

Ref: !1115 (merged)

Right now, gstreamer will crash at runtime on macOS 10.12 and older. With this fix, the developer will get a warning at compile time.

Edited by Nirbheek Chauhan

Merge request reports