Fix Linaro toolchain warnings