build: gcc 4.8 changes

Thanks to pbeeler (https://github.com/SaberMod/android_build/commits/sm-jb-mr1)
Remove -fno-aggressive-loop-optimizations
Merge remote-tracking branch 'origin/cm-10.1' into cm-10.1-gcc48
Merge remote-tracking branch 'origin/cm-10.1' into cm-10.1-gcc48
Merge remote-tracking branch 'origin/cm-10.1' into cm-10.1-gcc48
Extend dalvik flags to gcc 4.9

Credits to pbeeler