Add cl_amd_fp64 support for AMD OpenCL devices.

Add double type support for AMD OpenCL devices, particularly for AMD
APUs, with cl_amd_fp64 extension.
This flag will be ignored if cl_khr_fp64 extension presents.

Previous pull request has a warning and should be fixed now.