Trimming spaces at OpenCL platform name and device name.