sparc32: use proper types in struct stat