avfilter/scale_npp: check for buffer allocation failure