build: gcc 4.8 changes

Thanks to pbeeler (https://github.com/SaberMod/android_build/commits/sm-jb-mr1)