avfilter.c: fix compile, remove refcount from debug log

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>