Apply filter list to a data buffer.
Buffer to store the result of the filtering
A loaded git_filter_list (or NULL)
Buffer containing the data to filter
The length of the input buffer
0 on success, an error code otherwise