[vfs] [posix] SMBFile: fix reading files opened with READ_TRUNCATED flag
[vfs] [posix] SMBFile::GetPosition() return correct values on errors
[vfs] [posix] SMBFile::GetLength() return correct values on errors
[vfs] [posix] SMBFile::Write() remove unneeded cast