Fix AST strict aliasing violations