[syscalls] Fixed a bug in the handling of stat(), fstat() and ioctl() syscalls
[syscalls] Fixed a bug in the handling of stat(), fstat() and ioctl() syscalls

fhijaz/Graphite,mit-carbon/Graphite,8l/Graphite,victorisildur/Graphite,8l/Graphite,fhijaz/Graphite,nkawahara/Graphite,mit-carbon/Graphite,fhijaz/Graphite,nkawahara/Graphite,mit-carbon/Graphite-Cycle-Level,mit-carbon/Graphite-Cycle-Level,8l/Graphite,victorisildur/Graphite,mit-carbon/Graphite-Cycle-Level,mit-carbon/Graphite,fhijaz/Graphite,mit-carbon/Graphite,victorisildur/Graphite,mit-carbon/Graphite-Cycle-Level,nkawahara/Graphite,8l/Graphite,victorisildur/Graphite,nkawahara/Graphite