lavfi/edgedetect: switch to AVFrame.