yaffs direct: Fix error handling in yaffs_access