C++11 fixes, aliasing fixes, you know the drill...

Basically just applied the changes from the hardware/ti/omap4xxx stuff, so this is most likely incomplete but it's a start.