buildenv/win32-static: disable ltcg for Qt 4 and Qt 5 when building in Debug mode.