Revert "go1.1 changed the size of an int on 64bit architectures from 32bits to 64bits which causes weird issues when casting ints from c-land"

This reverts commit 2d8c520fef20d0896c8de197f831daf9afda2292.