quartz/filtergraph: Factor out find_filter_by_name().