I don't think this actually needs to be dynamically allocated. We can simply store a struct in the instance, and pass the address of that to `git_filter_register`, since the `GTFilter` won't deallocate while registered anyways.