Fix provided by James McKenzie for yaffs_DeleteChunk() - read before write