Fix -Wcast-align violation