Lazily fix aliasing

Change-Id: I3e2646eab377276d62f43407494903760c3fb83f
Fix violations with strict aliasing

Change-Id: I73a7419491868f7219da99a032db5c44a11d634d