avfilter/zscale: fix segfault on library error