fixes for GCC 4.8 and 4.9

Conflicts:
	core/combo/TARGET_linux-arm.mk
Merge branch 'jb43-legacy' of https://github.com/ParanoidAndroid/android_build into jb4.3