wininet: Return correct errors and put handle into invalid state when seeking beyond end of file.
When InternetSetFilePointer is used to seek and then read beyond the size of
the remote file, the initial read will fail with ERROR_NOACCESS and put the
handle into an invalid state such that InternetSetFilePointer,
InternetReadFile, and InternetQueryDataAvailable will return errors from
then on.
Based on !9644 (merged).
Edited by Reyka Matthies