avfilter/vf_cover_rect: clip rectangle if it is partly outside the input