Fix 32bit compiling on OS X

Linking doesn’t work on my machine because I have a 64 bit install of
Phobos
Fix error with ASM on some platforms
Convert tabs to spaces
Mirror thumb instruction on the upper 16 bits
Fix a race condition between the CPU and DMA threads
Merge branch 'master' of https://github.com/DDoS/GBAiD