syscall, golang_org/x/net/lif: fixes for gccgo on Solaris