Filtering slices in place in Go