avfilter/vf_pullup: Factor free_field_queue() out