More fixes to permit build with strict aliasing
Signed-off-by: Kristofer Ard <kristoferard@gmail.com>