spec: disable strict aliasing optimizations
There are many places where we break strict aliasing rules by
dereferencing type punned pointers. In order to mitigate compiler
warnings and prevent crashes we rather disable optimizations which
assume that code honors aliasing rules.