fix build with Linaro GCC 4.8
fix build with Linaro GCC 4.9.1

from: https://github.com/rmbq/android_kernel_htc_msm8960/commit/369eccd439fe312ed6c6e1ba1c5024bbe976dabf