Fix ADXL345 on 32 bit platforms

http://forum.pjrc.com/threads/25432-Teensy-3-1-amp-freeIMU