Fix building of JSC for earlier versions of gcc on Mac

Since building for Carbon typically uses older versions of gcc on older
versions of Mac, then we need to revert
0de22e80ac645afc3793419300d6271d95809196 partially in order to fix this.
Since the original code was just a cleanup then this is safe to do so.

Change-Id: I5dd8fe99704ffac66ac3384b62849fa8162ca82d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Qt 3 Support: Prevent double deletion of QObjectPrivate::threadData in QSettings.

Task-number: QTBUG-36908

Change-Id: I8f9f86f20bd8bb479c2637f6c276e4e2593ecef9
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
[cleanup] remove top level files and folders

git rm .commit-template .gitattributes .hgignore .tag header.* LICENSE.PREVIEW.COMMERCIAL
git rm -fr config.profiles/ demos/ dist/ doc/ examples/ imports/ templates/ tests/ translations/ util/
[cleanup] remove unused files in bin/

git rm bin/c* bin/e* bin/f* bin/p* bin/setcepaths.bat
[cleanup] remove unused fonts in lib/

git rm -fr lib/fonts
[cleanup] remove unused files in tools/

cd tools ; git rm tools.pro
git rm -fr activeqt/ assistant/ checksdk/ configure/ designer/ doxygen/ kmap2qmap/ linguist/ macdeployqt/ makeqpf/ pixeltool/ porting/ qconfig/ qdbus/ qdoc3/ qev/ qmeegographicssystemhelper/ qml/ qmlplugindump/ qtconcurrent/ qtconfig/ qtestlib/ qttracereplay/ qvfb/ runonphone/ xmlpatterns/ xmlpatternsvalidator/
cd shared ; git rm -fr deviceskin/ findwidget/ fontpanel/ qtgradienteditor/ qtpropertybrowser/ qttoolbardialog/
[cleanup] remove unused code in src/3rdparty/

cd src/3rdparty; git rm .gitattributes libgq.pri libmng.pri libtiff.pri
git rm -fr ce-compat/ clucene/ fonts/ freetype/ javascriptcore/ libgq/ libmng/ libtiff/ patches/ phonon/ pixman/ powervr/ ptmalloc/ s60/ wayland/ webkit/