lavfi/avfiltergraph: check pick_format return code.