avfilter/dnn: unify the layer load function in native mode