fixed an ugly overflow in int_inv_sqrt (was working on x86 because uint32_t cast was implicit)
NB: this fixes acceleration when ACCELERATION_RAMPING is enabled