Add cl_amd_fp64 support for AMD OpenCL devices.

1. 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.

2. Remove unnecessary double border type for OpenCL's remap function.