gtkiconcache: Use g_stat instead of fstat
stat/fstat aren't compatible with GStatBuf on Windows in all cases. Since we don't really need the file descriptor anyway here replace it with a g_stat call.
This fixes a compiler warning with 64bit mingw. And lets us remove this scary ifdeffery.