Use template getInfo functions on cl::Platform