Protect functions taking double by #ifdef cl_khr_fp64

Also change the order of the functions to be consistent with
the order in the header files.


git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211496 91177308-0d34-0410-b5e6-96231b3b80d8