kernel: yaffs: use new_sync_{read,write} for 3.18+