lavc: clear AVBuffers on decoded frames if refcounted_frames is not set