Replaced invalid casts with memcpy
Replaced invalid casts with memcpy

A few places were reinterpreting byte aligned memory
as larger types like int, float, or double.

Use memcpy, which can do this kind of thing safely.

Fixes -Wcast-align warnings.

Change-Id: I93cdb897384f70c568a9a7ca8afbd3983ca502b9

collects/VTK,johnkit/vtk-dev,berendkleinhaneveld/VTK,demarle/VTK,mspark93/VTK,ashray/VTK-EVM,gram526/VTK,biddisco/VTK,sankhesh/VTK,gram526/VTK,gram526/VTK,biddisco/VTK,hendradarwin/VTK,biddisco/VTK,berendkleinhaneveld/VTK,hendradarwin/VTK,ashray/VTK-EVM,sumedhasingla/VTK,keithroe/vtkoptix,keithroe/vtkoptix,hendradarwin/VTK,keithroe/vtkoptix,berendkleinhaneveld/VTK,mspark93/VTK,SimVascular/VTK,candy7393/VTK,mspark93/VTK,johnkit/vtk-dev,mspark93/VTK,msmolens/VTK,gram526/VTK,jmerkow/VTK,jmerkow/VTK,ashray/VTK-EVM,keithroe/vtkoptix,sumedhasingla/VTK,gram526/VTK,ashray/VTK-EVM,demarle/VTK,sankhesh/VTK,jmerkow/VTK,keithroe/vtkoptix,hendradarwin/VTK,jmerkow/VTK,sankhesh/VTK,SimVascular/VTK,jmerkow/VTK,johnkit/vtk-dev,msmolens/VTK,collects/VTK,hendradarwin/VTK,msmolens/VTK,ashray/VTK-EVM,gram526/VTK,mspark93/VTK,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,collects/VTK,msmolens/VTK,berendkleinhaneveld/VTK,msmolens/VTK,demarle/VTK,msmolens/VTK,biddisco/VTK,hendradarwin/VTK,johnkit/vtk-dev,candy7393/VTK,SimVascular/VTK,msmolens/VTK,johnkit/vtk-dev,sumedhasingla/VTK,candy7393/VTK,candy7393/VTK,ashray/VTK-EVM,sankhesh/VTK,jmerkow/VTK,candy7393/VTK,keithroe/vtkoptix,SimVascular/VTK,jmerkow/VTK,biddisco/VTK,keithroe/vtkoptix,demarle/VTK,demarle/VTK,candy7393/VTK,candy7393/VTK,mspark93/VTK,collects/VTK,demarle/VTK,johnkit/vtk-dev,collects/VTK,demarle/VTK,mspark93/VTK,sankhesh/VTK,sankhesh/VTK,sumedhasingla/VTK,sankhesh/VTK,SimVascular/VTK,gram526/VTK,jmerkow/VTK,sumedhasingla/VTK,johnkit/vtk-dev,berendkleinhaneveld/VTK,sankhesh/VTK,berendkleinhaneveld/VTK,berendkleinhaneveld/VTK,ashray/VTK-EVM,sumedhasingla/VTK,mspark93/VTK,biddisco/VTK,SimVascular/VTK,msmolens/VTK,gram526/VTK,hendradarwin/VTK,collects/VTK,sumedhasingla/VTK,keithroe/vtkoptix,demarle/VTK,candy7393/VTK,biddisco/VTK,ashray/VTK-EVM