[vfs] PosixFile::Write(): remove unneeded cast