rtems: Use off_t instead of __loff_t

This avoids a compile-time error with recent Newlib versions.
rtems_yaffs: RTEMS API changes (chmod)