Implement binary search using gst_util_array_binary_search https://bugzilla.gnome.org/show_bug.cgi?id=749690