avfiltergraph: check for sws opts being non-NULL before using them.