fixed SFileCompactArchive failed in win8

this is a test case

```C++
#define __STORMLIB_SELF__
#include "../src/StormLib.h"

int main(void)
{
	HANDLE mpq_handle = NULL;
	bool result = true;
	result = SFileCreateArchive("doodads.mpq", 0, 64, &mpq_handle);
	result = SFileAddFileEx(mpq_handle
		, "doodads.slk"
		, "doodads.slk"
		, MPQ_FILE_REPLACEEXISTING | MPQ_FILE_SINGLE_UNIT | MPQ_FILE_COMPRESS
		, MPQ_COMPRESSION_ZLIB
		, MPQ_COMPRESSION_ZLIB);
	result = SFileCompactArchive(mpq_handle, 0, false); // failed on win8
	result = SFileCloseArchive(mpq_handle);
    return 0;
}
```