Simplify enabling of plugins with a variant, and allow setting them on the command-line
Implement a function that can be used by all gstreamer recipes for enabling a plugin based on whether a variant is set.
Also only set Darwin-specific flags when targeting macOS and iOS to reduce noise.
NOTE: please merge only after 1.15.1 is tagged in Cerbero.
Edited by Nirbheek Chauhan