rtems_yaffs: RTEMS API changes (chmod)