Shutdown callback on filter
Specified as filter.shutdown, this is an optional callback invoked
when the filter is unregistered or when libgit2 is shutting down. It
will be called once at most and should release resources as needed.
Typically this function will free the git_filter object itself.