Bug 1015656: Fix overflows on ARM's ceil inline implementation; r=mjrosenb