unix: Fix compile warnings for ffi module on 64-bit machine.