net/goreplay: Unbreak build with Go 1.12
PR: 236330 Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer)