Teach vtkMathConfigure about nvcc support for std::isnan and friends.
Teach vtkMathConfigure about nvcc support for std::isnan and friends.

The CUDA compiler(nvcc) is a secondary compiler that is used beside your host
compiler. While your host compiler can support std::isnan and other functions,
the CUDA compiler doesn't. Because the CUDA compiler is given both host and
device code to parse it will then fail when it sees std::isnan because it is
in the vtkMath header and not the implementation file. To get around this
issue we check __CUDACC__ which is only set when we are compiling with the
CUDA compiler

Change-Id: Ifadf476937617cce382e52a0546f77e8044b6630

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