fix fptype == float support

- fix several compile errors due to non-casted literals
- fix #if switch in GlobalCudaDefines to actually switch to float if DOUBLES == 1