avfilter/dnn/dnn_backend_tf: fix cross library usage