sniffglue: Add Reduce::reduce() fixes for rust 1.51
Backporting upstream commit: https://github.com/kpcyrd/sniffglue/pull/84/commits/e2244ab2616272faa8ebce18308e146f275250c4
Backporting upstream commit: https://github.com/kpcyrd/sniffglue/pull/84/commits/e2244ab2616272faa8ebce18308e146f275250c4