tmxrasterizer does not need QtWidgets

It does need to use QGuiApplication rather than QCoreApplication because
of QPixmap usage in libtiled.