Add support for struct stat on 32-bit ppc architecture.
Switch back to using ffi.arch to define struct stat in cdef.lua