lavfi: change the filter registering system to match the other libraries