Fix a -Wformat warning in ASTUnit.cpp

llvm::sys::cas_flag is 'long' instead of 'uint32_t' on win32, because
that's what InterlockedIncrement is defined to accept.

I still don't know if we should be calling fprintf from ASTUnit.cpp
behind a getenv check.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@200718 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a -Wmicrosoft warning about an unrepresentable enum value

In MSVC, enums are always signed unless you explicitly specify the type.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@200719 91177308-0d34-0410-b5e6-96231b3b80d8