go.net/ipv4: don't set ifindex to negative integers

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/171810043
2 files changed