meson: Fix handling of optional deps
Currently, gst-plugins-rs necessitate the presence of all optional dependencies, such as gstreamer-check-1.0 and gstreamer-gl-1.0, on the system, regardless of whether the user actually requires these functionalities. This merge request (MR) addresses and resolves some of these instances.