Convert boost::constants to double before dumping to source

Some of OpenCL implementations do not deal well with literals with too
many digits.