misc: Fix more Linaro warnings and errors