fix SetSockOptInt on 64-bit platforms for 1.1

Value now is converted to C.int precisely due to Go 1.1 will make int and uint 64 bits on 64-bit platforms. And this patch should be backward compatible as I've tested in both 1.0.3 and 1.1rc2.