Eliminate some building issues on Windows

- Use --large-address-aware instead of /LARGEADDRESSAWARE with MinGW
- Adjust an #include in libtiled\objectgroup.cpp
- Build tmxviewer as a console application