Avoid taking the global quark lock for every single buffer. Part-of: <gstreamer/gst-plugins-base!295>