Bug 898936 - Fix some build warnings on ARM gcc; r=mjrosenb