[Win] Clean up some 64-bit warnings from Visual Studio analyzer