Fix SMB files reading on POSIX platforms

Two fixes for SMB file on POSIX.
First fix is similar to fixes on Win32File and PosixFile.
Second one for bug reported [here](https://github.com/xbmc/xbmc/pull/5534#issuecomment-60687376).
**EDIT:** Added minor fixes.