Fixed some pointer aliasing warnings with GCC